From owner-freebsd-questions Sun Mar 31 22:18: 9 2002 Delivered-To: freebsd-questions@freebsd.org Received: from tao.thought.org (sense-kline-249.oz.net [216.39.168.249]) by hub.freebsd.org (Postfix) with ESMTP id 5C80C37B417 for ; Sun, 31 Mar 2002 22:18:01 -0800 (PST) Received: (from kline@localhost) by tao.thought.org (8.11.3/8.11.3) id g316Hvp98681; Sun, 31 Mar 2002 22:17:57 -0800 (PST) (envelope-from kline) Date: Sun, 31 Mar 2002 22:17:56 -0800 From: Gary Kline To: Deepak Jain Cc: Gary Kline , FreeBSD Mailing List Subject: Re: any Apache//web wizards out there? Message-ID: <20020331221756.A98582@tao.thought.org> References: <20020331212322.B97995@tao.thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from deepak@ai.net on Mon, Apr 01, 2002 at 12:42:33AM -0500 X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing 15 years of service to the Unix community 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 On Mon, Apr 01, 2002 at 12:42:33AM -0500, Deepak Jain wrote: > > 3) Make sure your file is named .shtml or .html with the execute bit set > > [Xbithack] > > -rwxr-xr-x 1 kline wheel 1928 Mar 31 20:34 index.html > > > Note that when I tried index.shtml, apache gave me a > permission error about not having access to "/". This > may be another part of the problem. (??) > > > --- > > This is probably a sign that the directory being used for your website is > not the same as the one you are working on. If index.shtml and index.html > are in the same directory, there should be a permission error. Try renaming > the index.html you are working on to index.shtml or index2.html and see if > you can still access it. It's mv'ing index.html to index.shtml that causes the permission error. I did a mv, not a cp, so there was not both index.* files at the same time. Having an index2.html or not makes no difference. It's still an unknown... . > > > 4) Make sure you have Includes permissions turned on for the directory you > > are in: > > > > > > Options +Includes > > > > > Do I need the + prepended to "Includes"? ...Another thing > is whether I need to specify the "/usr/local/www/wwdata" > directory here. Above, n the default section > I have enabled Imcludes; also in the /cgi-bin/ > section. > > --- > > +Includes adds Includes to the available options, its a way of not screwing > with whatever else you have set. > Okay, thanks for the datapoint. I've put it back; still nothing.... > > What directory paths are you dealing with and what are your directory > settings? > The directory /usr/local/www/wwdata points to a virtual webste, my library writing group, wordwranglers.thought.org; Her is a cut/paste of that entry. Maybe it will tell you something. ServerAdmin kline@thought.org DocumentRoot "/usr/local/www/wwdata" ErrorDocument 404 /404page.html ServerName wordwranglers.thought.org ErrorLog /home/kline/tmp/error.log Options +Includes The entry here makes no difference. I can comment itor not and the text-counter still fails to display anhything! gary -- Gary Kline kline@thought.org www.thought.org Public service Unix To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message