From owner-freebsd-questions Thu Nov 14 11:53:12 2002 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 B054C37B401 for ; Thu, 14 Nov 2002 11:53:10 -0800 (PST) Received: from smtp011.mail.yahoo.com (smtp011.mail.yahoo.com [216.136.173.31]) by mx1.FreeBSD.org (Postfix) with SMTP id DB33243E9E for ; Thu, 14 Nov 2002 11:53:09 -0800 (PST) (envelope-from ihsan_junaidi@yahoo.com.sg) Received: from unknown (HELO trigger.lan) (ihsan?junaidi@219.93.218.34 with plain) by smtp.mail.vip.sc5.yahoo.com with SMTP; 14 Nov 2002 19:53:09 -0000 Content-Type: text/plain; charset="us-ascii" From: Ihsan Junaidi Ibrahim To: FreeBSD Questions Subject: apache2 "directory index forbidden by rule" Date: Fri, 15 Nov 2002 03:44:15 +0800 User-Agent: KMail/1.4.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200211150344.15472.ihsan_junaidi@yahoo.com.sg> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello all, I have an apache manual directory located in /usr/local/share/doc/apache2= =20 which I'm trying to link from my local website. I symlink the folder to a= =20 local folder in my home directory and all I'm getting is "directory index= =20 forbidden by rule" when I looked inside the log file. The problem it seem= s to=20 be on the extra filename tacked on the htmls file ie: index.html.en,=20 index.html.ja and all. I tried plain old index.html and all are fine. I tried adding the line AddOutputFilter Includes html on the directory wh= ere=20 the symlink and the actual folder but still no go. It only happens in vir= tual=20 host context, if I put the statement in global context, it wo= rk.=20 The only caveat is that I have to put an alias; or else there' no way I'm= =20 able to reference the folder. Here's the directives that I put in the VHost context; =09Options Indexes FollowSymLinks MultiViews =09AddOutputFilter Includes html =09AllowOverride None =09Order allow,deny =09Allow from all =09Options Indexes MultiViews =09AddOutputFilter Includes html =09AllowOverride None =09Order allow,deny =09Allow from all I don't want to refer the files in global aliasing/directory context. I o= nly=20 want to refer them from my local directory. I have a bunch of html docs=20 located in /usr/local/share/docs which I symlinked just fine and apache i= s=20 the only misbehaving kid on the block. Hope someone can help. __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message