[wplug] Apache help

Chris Romano romano.chris at gmail.com
Wed Apr 9 11:37:13 EDT 2008


On Wed, Apr 9, 2008 at 11:24 AM, Edward Walter <ewalter at walterama.com> wrote:
> On Wed, Apr 9, 2008 at 10:12 AM, Chris Romano <romano.chris at gmail.com>
> wrote:
> >
> >
> > On Wed, Apr 9, 2008 at 9:53 AM, Neal Sofge <neal_sofge at rand.org> wrote:
> > >  On Apr 9, 2008, at 9:18 AM, Chris Romano wrote:
> > > > On Wed, Apr 9, 2008 at 9:09 AM, Michael Semcheski
> <mhsemcheski at gmail.com>
> > > wrote:
> > > >
> > > > >
> > > > >
> > > > > > I put that between the <VirtualHost> tags, restarted apache and
> I'm
> > > > > > still receiving the same erros.
> > > > > >
> > > > > >
> > > > >
> > > > > You need to look at /var/log/httpd/access_log and
> > > /var/log/httpd/error_log,
> > > > > see if they tell you anything.
> > > > >
> > > > > Also, if possible you should look at what has changed since the last
> > > time
> > > > > this was working.  (e.g., did you run 'yum update', did you change
> > > > > httpd.conf, etc.)
> > > > >
> > > > >
> > > >
> > > > Error_log:
> > > > [Wed Apr 09 08:33:47 2008] [error] [client 66.37.52.123]
> > > > (13)Permission denied: access to /index.html denied
> > > > [Wed Apr 09 08:33:49 2008] [error] [client 66.37.52.123]
> > > > (13)Permission denied: access to /index.html denied
> > > > [Wed Apr 09 08:34:55 2008] [error] [client 66.37.52.123]
> > > > (13)Permission denied: access to /index.html denied
> > > >
> > > > Acces_log:
> > > > www.calvaryofwashington.com 67.163.247.111 - - [09/Apr/2008:08:28:39
> > > > -0400] "GET /index.html HTTP/1.1" 403 304 "-" "Mozilla/5.0 (X11; U;
> > > > Linux i686; en-US; rv:1.8.0.12) Gecko/20080326
> > > > CentOS/1.5.0.12-14.el5.centos Firefox/1.5.0.12"
> > > > www.calvaryofwashington.com 66.37.52.123 - - [09/Apr/2008:08:33:47
> > > > -0400] "GET /index.html HTTP/1.1" 403 304 "-" "Mozilla/5.0 (Macintosh;
> > > > U; Intel Mac OS X; en-US; rv:1.8.1.13) Gecko/20080311
> > > > Firefox/2.0.0.13"
> > > > www.calvaryofwashington.com 66.37.52.123 - - [09/Apr/2008:08:33:49
> > > > -0400] "GET /index.html HTTP/1.1" 403 304 "-" "Mozilla/5.0 (Macintosh;
> > > > U; Intel Mac OS X; en-US; rv:1.8.1.13) Gecko/20080311
> > > > Firefox/2.0.0.13"
> > > >
> > > >
> > > > This site has never worked, the other sites that are setup the same
> > > > way currently are working correctly.
> > > >
> > > > Chris
> > > >
> > > >
> > >
> > > Does the Apache httpd process have read access to the directory in
> question?
> > >
> > >
> >
> > it should
> >
> > -rwxrwxrwx 1 calvaryofwashington webadmin 70 Apr 9 08:05 index.html
> >
> > webadmin has the apache user plus a few other users
> >
>
>
> That shows the permissions on the index.html file but apache also needs
> access to the directory itself.  What are the permissions on the directory
> hosting index.html?  Also, if I recall correctly; the web directory itself
> has to be marked executable (r-x) and not just readable (r--) for apache to
> serve content properly... At least this used to be the case for apache
> 1.3.x.  I'm not sure if that's true for apache 2.x.
>

crap ... that was it.  I know I checked that before.  Must give brain
a break so it stops messing with me.

Thanks for the help everyone

Chris

-- 
"They that would trade essential liberty for a little temporary safety
deserve neither." -- Benjamin Franklin


More information about the wplug mailing list