1 |
On Sat, 2005-12-17 at 17:40 -0600, Michael Sullivan wrote: |
2 |
> I'm trying to set up aliases to different html directories |
3 |
> under /usr/share/doc. I've run into a snag. My first one if for |
4 |
> syslog-ng. Here's the Apache2 config for it: |
5 |
> |
6 |
> bullet modules.d # cat 01_manuals.conf |
7 |
> Alias /manuals/syslog-ng "/usr/share/doc/syslog-ng-1.6.8-r1/html" |
8 |
> <Directory /usr/share/doc/syslog-ng-1.6.8-r1/html> |
9 |
> Order allow,deny |
10 |
> Allow from all |
11 |
> </Directory> |
12 |
> |
13 |
> |
14 |
> I restarted /etc/init.d/apache2 and poined my web browser to |
15 |
> www.espersunited.com/manuals/syslog-ng. It gave me a 403 Forbidden. I |
16 |
> checked the permissions from /usr all the way down |
17 |
> to /usr/share/doc/syslog-ng-1.6.8-r1/html and all were 755. The |
18 |
> contents of /usr/share/doc/syslog-ng-1.6.8-r1/html were 444, but I don't |
19 |
> think that's a problem. I looked at /var/log/apache2/error_log for the |
20 |
> source of the problem and found this: |
21 |
> |
22 |
> [Sat Dec 17 17:32:24 2005] [error] [client 192.168.1.3] Directory index |
23 |
> forbidden by rule: /usr/share/doc/syslog-ng-1.6.8-r1/html/ |
24 |
> |
25 |
> |
26 |
> I thought "Allow from all" meant that anyone could access the directory? |
27 |
> What am I doing wrong? |
28 |
|
29 |
Nevermind. I went into /usr/share/doc/syslog-ng-1.6.8-r1/html and |
30 |
created a symlink called "index.html" and then it worked... |
31 |
|
32 |
-- |
33 |
gentoo-user@g.o mailing list |