Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Oct 2004 10:38:10 -0700
From:      Drew Tomlinson <drew@mykitchentable.net>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Apache 2 - "Directory index forbidden by rule"
Message-ID:  <41755102.6080209@mykitchentable.net>

index | next in thread | raw e-mail

[-- Attachment #1 --]
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:

<VirtualHost *>
    ServerAdmin webmaster@mykitchentable.net
    ServerName freebsd.mykitchentable.net
    DocumentRoot /usr/local/share/doc
    CustomLog /var/log/httpd_freebsd-access.log combined
    ErrorLog /var/log/httpd_freebsd-error.log

   <Directory "/usr/local/share/doc">
        Options All
        Order allow,deny
        Allow from all
    </Directory>

</VirtualHost>

Can anyone point out my error?

Thanks,

Drew

-- 
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books, & More!

http://www.alchemistswarehouse.com


[-- Attachment #2 --]
0	*H
010	+0	*H
0W0
.0
	*H
0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
040918145001Z
050918145001Z0I10UThawte Freemail Member1&0$	*H
	drew@mykitchentable.net00
	*H
0%>ԤAKijBWՏݱ(3ٔ-ʾ]#O0LI\q$בN&'LZ{v]lQS%!-d i3E.C.I}.U7[,|.Q4020"U0drew@mykitchentable.net0U00
	*H
S3N;W	uDBpT:R}9'	(
-P: 6EFNvjȯ!Y;AF|w^jܷi0~uVN
{300W0
.0
	*H
0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
040918145001Z
050918145001Z0I10UThawte Freemail Member1&0$	*H
	drew@mykitchentable.net00
	*H
0%>ԤAKijBWՏݱ(3ٔ-ʾ]#O0LI\q$בN&'LZ{v]lQS%!-d i3E.C.I}.U7[,|.Q4020"U0drew@mykitchentable.net0U00
	*H
S3N;W	uDBpT:R}9'	(
-P: 6EFNvjȯ!Y;AF|w^jܷi0~uVN
{300?0
0
	*H
010	UZA10UWestern Cape10U	Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0)	*H
	personal-freemail@thawte.com0
030717000000Z
130716235959Z0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA00
	*H
0Ħ<UsUNʙZhup[v:aQP
0cZ,p+Z?qV˯<6$*+w=+>@dקe*TH<a@dr`00U00CU<0:08642http://crl.thawte.com/ThawtePersonalFreemailCA.crl0U0)U"0 010UPrivateLabel2-1380
	*H
HP.
fgCL!6-6/P p<ab:~t%Pb'qW%ݩ9 Oe_N4[5MwV!x!5$F]_eO100i0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA
.0	+0	*H
	1	*H
0	*H
	1
041019173810Z0#	*H
	1'עpB/wXm0R	*H
	1E0C0
*H
0*H
0
*H
@0+0
*H
(0x	+71k0i0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA
.0z*H
	1ki0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA
.0
	*H
?"|RH880cZ\%dُ*
0S&~zgQ%$y.b>ܮSZc>]<8{a)[aLN*QEV4@&Ht
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41755102.6080209>