[Zope] apache rewrite blues.
Wombie Tomek
lewombie at gmail.com
Sat Mar 19 12:16:59 EST 2005
i have an apache rewrite that looks like this:
RewriteEngine On
# RewriteRule ^/(.*)
http://127.0.0.1:8085/VirtualHostBase/http/www.thoracicavity.com:80/wombie/VirtualHostRoot/$1
[L,P]
RewriteRule ^(.*)$
http://www.thoracicavity.com:8085/VirtualHostBase/http/www.thoracicavity.com:80/wombie/VirtualHostRoot$1
[P,L]
the former one didn't work any better than the one i'm currenly using.
for whatever reason any sort of querystring i try to pass fails, and
zope gives me a server request failure. Searches, Zphotos, anything
using a querystring is broken... but everything else is perfect.
What is wrong with my rewrite?
my complete virtual host setup looks like this... and there is nothing
unusual in my error log and my access log just looks just fine like
the queries got passed ok.
68.93.160.73 - - [19/Mar/2005:17:58:21 +0100] "GET
/search?SearchableText=adfasdfasd HTTP/1.1" 404 3392
"http://www.thoracicavity.com/" "Mozilla/5.0 (Windows; U; Windows NT
5.1; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1"
etc....
<VirtualHost 62.23.25.244>
DocumentRoot /Data/sites/www.thoracicavity.com/web/
ServerName www.thoracicavity.com
ErrorDocument 404 http://www.thoracicavity.com/404error.php
CustomLog /Data/sites/www.thoracicavity.com/log/access.www.thoracicavity.com.log
combined
Alias /webalizer /Data/sites/www.thoracicavity.com/webalizer
RewriteEngine On
# RewriteRule ^/(.*)
http://127.0.0.1:8085/VirtualHostBase/http/www.thoracicavity.com:80/wombie/VirtualHostRoot/$1
[L,P]
RewriteRule ^(.*)$
http://www.thoracicavity.com:8085/VirtualHostBase/http/www.thoracicavity.com:80/wombie/VirtualHostRoot$1
[P,L]
</VirtualHost>
holden thomas
More information about the Zope
mailing list