Every request that's rewritten will get logged. What version of apache are you using? Also, what does your access_log say? You can invoke the rewrite log like this: RewriteLog "/etc/httpd/logs/rewrite_log" RewriteLogLevel 9 On Sat, 2005-03-19 at 14:45, Wombie Tomek wrote:
i just get a 404 response with anything which i try to pass a query. If I use a rewrite log does every request get recorded?
On Sat, 19 Mar 2005 12:02:32 -0700, Mark Gibson <mark@kaivo.com> wrote:
Turn the rewrite log on to see how your queries are getting rewritten. How do your queries "fail"?
Mark
On Sat, 2005-03-19 at 10:16, Wombie Tomek wrote:
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/V... [L,P] RewriteRule ^(.*)$ http://www.thoracicavity.com:8085/VirtualHostBase/http/www.thoracicavity.com... [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/V... [L,P] RewriteRule ^(.*)$ http://www.thoracicavity.com:8085/VirtualHostBase/http/www.thoracicavity.com... [P,L] </VirtualHost>
holden thomas _______________________________________________ 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 ) -- Mark Gibson <mark@kaivo.com>
_______________________________________________ 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 ) -- Mark Gibson <mark@kaivo.com>