[wplug] Apache help
Chris Romano
romano.chris at gmail.com
Wed Apr 9 11:15:44 EDT 2008
On Wed, Apr 9, 2008 at 10:52 AM, Tom Rhodes <trhodes at freebsd.org> wrote:
>
> On Wed, 9 Apr 2008 10:12:57 -0400
> "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
>
> Personally, I'd move the allow,deny directives out of the virtual host and
> make them global - I'd also make sure that fs acls aren't set or are set
> at the default. Check out some of your other global options, and
> also, make sure a .htaccess file doesn't exist in that directory.
>
Yeah, I have the allow,deny stuff set globally ... How do I check the
acls? There isn't a .htaccess file and I don't see how a global
option would be wrong because other sites are working fine.
Chris
--
"They that would trade essential liberty for a little temporary safety
deserve neither." -- Benjamin Franklin
More information about the wplug
mailing list