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@appstate.edu> To: <zope@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/ ====================================================================
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@ncl.ac.uk
-----Original Message----- From: zope-bounces@zope.org [mailto:zope-bounces@zope.org] On Behalf Of Thomas Bennett Sent: 25 April 2007 22:44 To: zope@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@appstate.edu> To: <zope@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@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 )
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@ncl.ac.uk
-----Original Message----- From: zope-bounces@zope.org [mailto:zope-bounces@zope.org] On Behalf Of Thomas Bennett Sent: 25 April 2007 22:44 To: zope@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@appstate.edu> To: <zope@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@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@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/ ====================================================================
Forget the previous reply about it working. I found I was accessing the web server with the 8086 port number on the end of the URL which did work. 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@ncl.ac.uk
-----Original Message----- From: zope-bounces@zope.org [mailto:zope-bounces@zope.org] On Behalf Of Thomas Bennett Sent: 25 April 2007 22:44 To: zope@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@appstate.edu> To: <zope@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@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@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/ ====================================================================
participants (2)
-
John Snowdon -
Thomas Bennett