On Sat, 2005-12-17 at 17:40 -0600, Michael Sullivan wrote:
> I'm trying to set up aliases to different html directories
> under /usr/share/doc.  I've run into a snag.  My first one if for
> syslog-ng.  Here's the Apache2 config for it:
> 
> bullet modules.d # cat 01_manuals.conf
> Alias /manuals/syslog-ng "/usr/share/doc/syslog-ng-1.6.8-r1/html"
> <Directory /usr/share/doc/syslog-ng-1.6.8-r1/html>
>         Order allow,deny
>         Allow from all
> </Directory>
> 
> 
> I restarted /etc/init.d/apache2 and poined my web browser to
> www.espersunited.com/manuals/syslog-ng.  It gave me a 403 Forbidden.  I
> checked the permissions from /usr all the way down
> to /usr/share/doc/syslog-ng-1.6.8-r1/html and all were 755.  The
> contents of /usr/share/doc/syslog-ng-1.6.8-r1/html were 444, but I don't
> think that's a problem.  I looked at /var/log/apache2/error_log for the
> source of the problem and found this:
> 
> [Sat Dec 17 17:32:24 2005] [error] [client 192.168.1.3] Directory index
> forbidden by rule: /usr/share/doc/syslog-ng-1.6.8-r1/html/
> 
> 
> I thought "Allow from all" meant that anyone could access the directory?
> What am I doing wrong?

Nevermind.  I went into /usr/share/doc/syslog-ng-1.6.8-r1/html and
created a symlink called "index.html" and then it worked...

-- 
gentoo-user@gentoo.org mailing list

Reply via email to