httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Don" <dnrli...@san.rr.com>
Subject RE: [users@httpd] apache "forbidden" error accessing my mrtg files
Date Tue, 18 Nov 2003 01:07:45 GMT
Hi Brian... Thanks for replying.... I don't know if you read the whole
thread, but here's a recap..

Apache serves from /var/www/html
I have html files in /var/www/mrtg (this is the mrtg doc)
I have html files in /home/mrtg/html (this is where mrtg builds it's files)

In /var/www/html I have the follow symblic links

mrtg --> /home/mrtg/html
mrtgstats --> /home/mrtg/html  (same as above)
mrtgdoc --> ../mrtg

Try each of these and see what you get:
http://drussell.dnsalias.com/mrtg		<-- forbidden
http://drussell.dnsalias.com/mrtgstats	<-- works
http://drussell.dnsalias.com/mrtgdoc	<-- works

I would expect either both of the first two to work, or both to fail. And
based on what you said (below) I'd expect the ref to mrtgdoc to fail as
well.

Don


> -----Original Message-----
> From: Brian Dessent [mailto:brian@dessent.net]
> Sent: Monday, November 17, 2003 4:54 PM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] apache "forbidden" error accessing my mrtg
> files
>
>
> Don wrote:
>
> > So... corrected URL -->
> > http://drussell.dnsalias.com/mrtgstats/httpd.conf.txt
> >
> > (And I'll have to create a new bug with Cisco for IOS... sigh)
>
> This is not a bug, Apache is not allowing you to serve pages from
> /home/mrtg/html because you have not specified in httpd.conf that this
> is permitted.  You would not random unspecified directories to be
> available to web users, would you?
>
> You would need to add something like:
>
> <Directory /home/mrtg/html>
>    Order allow,deny
>    Allow from all
> </Directory>
>
> Brian
>
> ---------------------------------------------------------------------
> 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
>


---------------------------------------------------------------------
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


Mime
View raw message