Date: Tue, 26 Oct 2004 16:32:24 -0700 From: Drew Tomlinson <drew@mykitchentable.net> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Apache2 & Apache 1.3 Conf File Differences? (Was: Apache 2 -"Directory index forbidden by rule") Message-ID: <417EDE88.7040909@mykitchentable.net> In-Reply-To: <41755102.6080209@mykitchentable.net> References: <41755102.6080209@mykitchentable.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10/19/2004 10:38 AM Drew Tomlinson wrote: > 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 I am still having this problem and can't figure it out. Because I upgraded from 1.3x to 2, I wonder if there's something in my httpd.conf that needs to be added? Does anyone else that has upgraded recall having to add or change something? Thanks , Drew -- Visit The Alchemist's Warehouse Magic Tricks, DVDs, Videos, Books, & More! http://www.alchemistswarehouse.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?417EDE88.7040909>