Re: PLUG-discuss digest, Vol 1 #4898 - 9 msgs

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jared Anderson
Date:  
To: plug-discuss
Subject: Re: PLUG-discuss digest, Vol 1 #4898 - 9 msgs
Do you have an index file (index.html) in the server root directory?

In addition to the chmod o+x on the public folder, you need to enable the directory Option "+indexes":

ie:

<Directory /var/www/localhost/htdocs>
Options +Indexes
</Directories>


--)> oRiGiNaL MeSsAgE

From    --)> "Phil Mattison" <>
Date    --)> Sun, 12 Sep 2004 13:36:35 -0700
Subject    --)> Re: PLUG-discuss digest, Vol 1 #4898 - 9 msgs


> I managed to get it working by setting "Allow all" in the root directory
> declaration.
> This probably isn't a very good solution in general but shouldn't be a
> problem
> in this case since the machine is a development server on a local intranet.
> But it would be nice to get to the bottom of it. Last time I went through
> this
> it seemed like there was some conflict between the default server and the
> vhost definitions, i.e. I could get the default page to show or the vhost
> sites,
> but not both. I had saved my .conf files for Apache, but forgot to save the
> commonhttpd.conf, which I suspect is where the critical trick was done
> last time. Now I can't remember what it was. I'm pretty sure it wasn't
> "Allow all" for the root path. I think it had something to do with the
> ServerName
> or DocumentRoot. Anyway, since Apache configuration tends to be a
> do-it-once and forget it thing, its a pain to have to figure it all out
> again
> every time. Especially since something always seems to change in the
> latest release.
> --Phil M.
>
> > > You don't have permission to access / on this server.
> >
> > > Seems to me that Apache shouldn't betrying to access the root dir. Any
> ideas
> > > what might cause this? The vhost in this case is named admindb.
> >
> > It is not the root directory. The / is the DocumentRoot.
> >
> > Make sure that Apache can read the files. (Check the permissions of
> > directories and files. Directories need to be browsable with chmod +x)
> >
> > Make sure your Apache configuration doesn't have access restrictions
> > stopping this.
> >
> >
> > Jeremy C. Reed
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>



--
my$.02
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss