Gentoo Archives: gentoo-user

From: darren kirby <bulliver@×××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] apache permssions
Date: Sun, 05 Feb 2006 00:06:33
Message-Id: 200602041558.58204.bulliver@badcomputer.org
In Reply to: [gentoo-user] apache permssions by Nick Rout
1 quoth the Nick Rout:
2 > I wanted to use mod_status so I set -D INFO in /etc/conf.d/apache2 and
3 > my /etc/httpd.conf cotains the following:
4 >
5 > <IfDefine INFO>
6 > ExtendedStatus On
7 > <Location /server-status>
8 > SetHandler server-status
9 > Order deny,allow
10 > Deny from all
11 > Allow from localhost
12 > </Location>
13 > </IfDefine>
14 >
15 > Looks to me as though it should allow connections from localhost, but
16 > it doesn't, I get 403 Forbidden.
17
18 Yeah, it should be working, and in fact it is exactly the same as on my system
19 where it does work. Is your system having problems resolving localhost? Does
20 127.0.0.1 work?
21
22 > If I comment out the lines Deny from all, Allow from localhost it
23 > works, but not as it is written i the default file as quoted above.
24 >
25 > What am I doing wrong?
26 >
27 > Reading the manual here makes me believe it should be working:
28 >
29 > http://httpd.apache.org/docs/2.0/mod/mod_access.html#order
30
31 -d
32 --
33 darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
34 "...the number of UNIX installations has grown to 10, with more expected..."
35 - Dennis Ritchie and Ken Thompson, June 1972

Replies

Subject Author
Re: [gentoo-user] apache permssions Nick Rout <nick@×××××××.nz>