Date: Sun, 31 Mar 2002 22:17:56 -0800 From: Gary Kline <kline@thought.org> To: Deepak Jain <deepak@ai.net> Cc: Gary Kline <kline@thought.org>, FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG> Subject: Re: any Apache//web wizards out there? Message-ID: <20020331221756.A98582@tao.thought.org> In-Reply-To: <GPEOJKGHAMKFIOMAGMDIAEIMKLAA.deepak@ai.net>; from deepak@ai.net on Mon, Apr 01, 2002 at 12:42:33AM -0500 References: <20020331212322.B97995@tao.thought.org> <GPEOJKGHAMKFIOMAGMDIAEIMKLAA.deepak@ai.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020331221756.A98582>