Apache 2 - "Directory index forbidden by rule"
drew at mykitchentable.net
Tue Oct 19 10:38:16 PDT 2004
I recently upgraded my existing Apache 1.3x server to Apache 2.0.52. I
changed nothing (that I recall) in my httpd.conf file. In 1.3x, I had
defined a virtual server to link to /usr/local/share/doc so I could
easily read my docs from what ever computer I was using at the time.
There was never an index.html file. I just relied on whatever was
built-in to Apache (mod_autoindex?) to provide a directory listing when
I accessed the Document Root.
But since upgrading, I get a 403 error and this appears in my log file:
Directory index forbidden by rule: /usr/local/share/doc/
I've Googled on the subject and found others with the same problem. The
general recommendation is to make sure that "Options Indexes" is defined
for the directory. I've done this and restarted Apache but it has not
helped. Here's the relevant section of httpd.conf:
ServerAdmin webmaster at mykitchentable.net
CustomLog /var/log/httpd_freebsd-access.log combined
Allow from all
Can anyone point out my error?
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books, & More!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2801 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20041019/df786a60/smime.bin
More information about the freebsd-questions