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, Thomas PS: for what its worth, I found out in the mean time that NetDrive can cause Zope process to use over 95% of the cpu when the login in NetDrive is set and the password has changed on the Zope server and not on NetDrive. It continuously tries to connect. (NetDrive is a Novell program that allows you to map a webdav site as a drive on an MS Windows PC.) On Wednesday 25 April 2007 14:46, Jonathan wrote:
----- Original Message ----- From: "Thomas Bennett" <bennetttm@appstate.edu> To: <zope@zope.org> Sent: Wednesday, April 25, 2007 3:24 PM Subject: [Zope] apache rewrite quit working
Zope Version (Zope 2.9.7-final, python 2.4.4, linux2) Python Version 2.4.4 (#1, Oct 23 2006, 13:58:00) [GCC 4.1.1 20061011 (Red Hat 4.1.1-30)] System Platform linux2 SOFTWARE_HOME /var/zope/lib/python ZOPE_HOME /var/zope INSTANCE_HOME /var/zope CLIENT_HOME /var/zope/var Network Services ZServer.HTTPServer.zhttp_server (Port: 80) ZServer.HTTPServer.zwebdav_server (Port: 9800)
(Red Hat 4.1.1-30) is actually Fedora Core 6
NameVirtualHost 152.10.10.8:80
<VirtualHost 152.10.10.8:80> ServerAdmin bennetttm@appstate.edu ServerName www.library.appstate.edu ServerSignature Off RewriteLog /var/log/httpd/libweb-rewrite_log ErrorLog /var/log/httpd/libweb-error_log LogLevel warn TransferLog /var/log/httpd/libweb-access_log ProxyVia on RewriteEngine On RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) RewriteRule .* - [F] RewriteRule ^/(.*) http://localhost:8086/VirtualHostBase/http/%{SERVER_NAME}:80/VirtualHostR oot/$1 [L,P] </VirtualHost>
Since apache quit rewriting I have changed the Zope port to 80 so we could get back online. The rewrites
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) RewriteRule .* - [F]
Any suggestions on getting or testing apache rewrite, or problems seen with my rewrite rules would be appreciated.
Your rewrite rule points to port 8086 but according to your information ZServer is listening on port 9800?
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/ ====================================================================