[Zope] apache rewrite quit working
Thomas Bennett
bennetttm at appstate.edu
Wed May 9 14:28:01 EDT 2007
I've just now been able to get back to this. netstat was
listening on appropriate ports. Two things appear to be the
issue here. The user for apache was the default user
apache and this user does not exist on my server, I changed
it to the username I made for apache to run under. Then there
was a firewall issue.
error log for virtual host had this:
[Wed May 09 13:23:29 2007] [error] (13)Permission denied: proxy: HTTP: attempt to connect to 127.0.0.1:8086 (*) failed
[Wed May 09 13:25:55 2007] [error] (13)Permission denied: proxy: HTTP: attempt to connect to 127.0.0.1:8086 (*) failed
[Wed May 09 13:26:02 2007] [error] (13)Permission denied: proxy: HTTP: attempt to connect to 127.0.0.1:8086 (*) failed
until allowed port 8086 on firewall and then this:
[Wed May 09 13:32:50 2007] [error] [client 86.120.184.161] Directory index forbidden by Options directive: /var/www/html/
[Wed May 09 13:32:50 2007] [error] [client 86.120.184.161] Directory index forbidden by Options directive: /var/www/html/
[Wed May 09 13:33:04 2007] [error] [client 152.10.156.23] File does not exist: /var/www/html/vdb, referer: http://www.library.appstate
.edu/
which is Apache serving from its own document root. I commented
out the DocumentRoot setting in httpd.conf and it started working. I
don't remember ever having to comment that part out. As a matter
of fact I have an older linux, apache, and zope with apache rewriting
to zope and serving from the file system through redirects.
Any thing I have obviously missed here?
Thanks for the replies,
Thomas
On Thursday 26 April 2007 03:18, John Snowdon wrote:
> What did `netstat -an` say about your listening ports?
>
> John Snowdon - IT Support Specialist
> -==========================================-
> School of Medical Education Development
> Faculty of Medical Sciences Computing
> University of Newcastle
>
> Email : j.p.snowdon at ncl.ac.uk
>
> >-----Original Message-----
> >From: zope-bounces at zope.org [mailto:zope-bounces at zope.org] On
> >Behalf Of Thomas Bennett
> >Sent: 25 April 2007 22:44
> >To: zope at zope.org
> >Subject: Re: [Zope] apache rewrite quit working
> >
> >
> >Don't think that is it because it works fine if I change Zope
> >to port 80.
> >And, I was accessing apache on port 80 using the ip number,
> >localhost, the
> >machine's real name, and the URL domain it just wouldn't
> >rewrite to 8086.
> >nslookup showed name was still set to my ip number.
> >Thomas
> >
> >On Wednesday 25 April 2007 15:50, Jonathan wrote:
> >> ----- Original Message -----
> >> From: "Thomas Bennett" <bennetttm at appstate.edu>
> >> To: <zope at zope.org>
> >> Sent: Wednesday, April 25, 2007 4:15 PM
> >> Subject: Re: [Zope] apache rewrite quit working
> >>
> >> > web-dav server is listening on 9800
> >> > http server is now listening on 80
> >> > http was listening on 8086 until rewrite quit working,
> >
> >explained below.
> >
> >> > Thanks anyway,
> >>
> >> Any chance your nameserver settings got changed?
> >>
> >> Jonathan
> >
> >--
> >====================================================================
> >Thomas McMillan Grant Bennett Appalachian State University
> >Computer Consultant III P O Box 32026
> >University Library Boone, North
> >Carolina 28608
> >(828) 262 6587
> >
> >If it's not as simple as possible to try it, then the barrier
> >to entry is too
> >high.
> >
> >Library Systems Help Desk: http://www.library.appstate.edu/help/
> >====================================================================
> >_______________________________________________
> >Zope maillist - Zope at zope.org
> >http://mail.zope.org/mailman/listinfo/zope
> >** No cross posts or HTML encoding! **
> >(Related lists -
> > http://mail.zope.org/mailman/listinfo/zope-announce
> > http://mail.zope.org/mailman/listinfo/zope-dev )
>
> _______________________________________________
> Zope maillist - Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
--
====================================================================
Thomas McMillan Grant Bennett Appalachian State University
Computer Consultant III P O Box 32026
University Library Boone, North Carolina 28608
(828) 262 6587
If it's not as simple as possible to try it, then the barrier to entry is too high.
Library Systems Help Desk: http://www.library.appstate.edu/help/
====================================================================
More information about the Zope
mailing list