You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Shawn Iverson <sh...@nccsc.k12.in.us> on 2004/01/08 01:44:19 UTC

[users@httpd] Fedora Core 1 - Apache 2.0.47-10 - 403 Forbidden - mrtg


I recently had a server die on me and am in the process of rebuilding a new
one, but I was talked into using Fedora Core 1 this time around.  I am going
nuts over a "simple" problem.  
Perhaps someone could help?

Using apache with default settings I can pull up the apache test page fine
when I type in the server's address.  I can also open any html page that is
in /var/www/html/, which is normal.

/var/www/mrtg, however is not working:

Alias /mrtg/  /var/www/mrtg/
<Directory "/var/www/mrtg">
	Options  Indexes MultiViews
	AllowOverride None
	Order allow,deny
	Allow from all
</Directory>



The /var/log/httpd/error-log has the following error:

client denied by server configuration: /var/www/mrtg

Well, ok, so I tried the following:

I moved /var/www/mrtg to /var/www/html/mrtg and removed the prior alias and
Directory operator and did the following (shouldn't be necessary, but tried
out of desperation):

<Directory "/var/www/html/mrtg">
	Options  Indexes MultiViews
	AllowOverride None
	Order allow,deny		(also tried deny,allow)
	Allow from all
</Directory>

Then I did a killall -HUP httpd...still doesn't work.
I also tried service httpd restart with no improvement.

Interestingly enough, apache refuses to look anywhere, except /var/www/mrtg
for mrtg, even when no references for mrtg exist in httpd.conf!

Making a symlink from /var/www/html does not work, and 
Moving the mrtg folder elsewhere does not work (apache still thinks mrtg
resides in /var/www/mrtg, even when no references to mrtg are in the config
file).

What the heck is going on?  Is there any way around this?  I read an earlier
posting about this same issue on Fedora but did not find a solution:

List: apache-httpd-users <?l=apache-httpd-users&r=1&w=2> Subject: Re:
[users@httpd] apache "forbidden" error accessing my mrtg files
<?t=106905250700001&r=1&w=2> From: Luis Moreira <lamoreira () bes ! pt>
<?a=101653671600001&r=1&w=2> Date: 2003-11-17 16:13:44
<?l=apache-httpd-users&r=1&w=2&b=200311> 

Shawn Iverson
Technology Associate
New Castle Community School Corporation
765-593-6691
shawn@nccsc.k12.in.us



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org