httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <>
Subject RE: mod_rewrite + mod_proxy
Date Mon, 03 Dec 2001 15:10:37 GMT

From: Ragnar Beer []
> Here is a rule that works:
> RewriteRule (.*) - [P,L]
> But this one doesn't:
> RewriteRule (.*) $1?ra=%{REMOTE_ADDR} [P,L]
> Could anybody be so kind and help me to understand why this doesn't work?
> I read the mod_rewrite doc and the URL rewriting guide but I just don't
> get it :(

You are not providing much detail.  What is in the access, error, and most
importantly, the rewrite log file?  What happens in the browser.

I've never tried this myself, but one guess is

RewriteRule ^/(.*)$1?ra=%{REMOTE_ADDR} [P,L]


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message