From owner-freebsd-questions@FreeBSD.ORG Mon Nov 1 19:05:37 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD24916A5A4 for ; Mon, 1 Nov 2004 19:05:36 +0000 (GMT) Received: from relay03.roc.ny.frontiernet.net (relay03.roc.ny.frontiernet.net [66.133.131.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9085B43D41 for ; Mon, 1 Nov 2004 19:05:36 +0000 (GMT) (envelope-from drew@mykitchentable.net) Received: from filter01.roc.ny.frontiernet.net (filter01.roc.ny.frontiernet.net [66.133.131.176]) by relay03.roc.ny.frontiernet.net (Postfix) with ESMTP id 09F69192392 for ; Mon, 1 Nov 2004 19:05:36 +0000 (UTC) Received: from relay03.roc.ny.frontiernet.net ([66.133.131.36]) [66.133.131.176]) (amavisd-new, port 10024) with LMTP id 23992-34-15 for ; Mon, 1 Nov 2004 19:05:35 +0000 (UTC) Received: from blacklamb.mykitchentable.net (67-137-46-138.dsl2.elk.ca.frontiernet.net [67.137.46.138]) by relay03.roc.ny.frontiernet.net (Postfix) with ESMTP id 91F67191DAC for ; Mon, 1 Nov 2004 19:05:34 +0000 (UTC) Received: from [165.107.42.151] (unknown [165.107.42.151]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by blacklamb.mykitchentable.net (Postfix) with ESMTP id 402A93BF39C for ; Mon, 1 Nov 2004 11:05:32 -0800 (PST) Message-ID: <41868901.4020402@mykitchentable.net> Date: Mon, 01 Nov 2004 11:05:37 -0800 From: Drew Tomlinson User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD Questions References: <41755102.6080209@mykitchentable.net> <417EDE88.7040909@mykitchentable.net> In-Reply-To: <417EDE88.7040909@mykitchentable.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20040701 (2.0) (Debian) at filter01.roc.ny.frontiernet.net Subject: Re: Apache2 & Apache 1.3 Conf File Differences? (Was: Apache 2-"Directory index forbidden by rule") - SOLVED! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Nov 2004 19:05:37 -0000 On 10/26/2004 4:32 PM Drew Tomlinson wrote: > 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: >> >> >> 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 >> >> >> Options All >> Order allow,deny >> Allow from all >> >> >> >> >> 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 > Just wanted to post the solution. My mistake was that I modified apache/httpd.conf and not apache2/httpd.conf. Once I added the appropriate options to apache2/httpd.conf things started working. However the index icons were just placeholders because the icon gifs didn't exist. I finally found that I had to modify this line: Alias /icons/ "/usr/local/www/icons/" to this: Alias /icons/ "/usr/local/www/icons-dist/". Everything is working OK now. Drew -- Visit The Alchemist's Warehouse Magic Tricks, DVDs, Videos, Books, & More! http://www.alchemistswarehouse.com