Date: Mon, 1 Apr 2002 01:47:21 -0500 From: "Deepak Jain" <deepak@ai.net> To: "Gary Kline" <kline@thought.org> Cc: "FreeBSD Mailing List" <freebsd-questions@FreeBSD.ORG> Subject: RE: any Apache//web wizards out there? Message-ID: <GPEOJKGHAMKFIOMAGMDIKEIOKLAA.deepak@ai.net> In-Reply-To: <20020331221756.A98582@tao.thought.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Okay. We've skipped over a few points here. 1) What does your apache [error] log show? 2) When you look at the document source, do you see the text of your include statement or some kind of error message? Deepak Jain AiNET -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Gary Kline Sent: Monday, April 01, 2002 1:18 AM To: Deepak Jain Cc: Gary Kline; FreeBSD Mailing List Subject: Re: any Apache//web wizards out there? 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: > > > > <Directory /> > > Options +Includes > > </Directory > > > > 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 <Directory> section > I have enabled Imcludes; also in the /cgi-bin/ <Directory> > 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. <VirtualHost 216.39.168.249:80> ServerAdmin kline@thought.org DocumentRoot "/usr/local/www/wwdata" ErrorDocument 404 /404page.html ServerName wordwranglers.thought.org ErrorLog /home/kline/tmp/error.log <Directory /> Options +Includes </Directory> </VirtualHost> The <Directory /> 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?GPEOJKGHAMKFIOMAGMDIKEIOKLAA.deepak>