----- 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/VirtualHostRoot/$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