httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Malo>
Subject Re: [users@httpd] rewrite: RewriteMap prg: doesn't support full query string
Date Sat, 03 Jan 2004 13:17:48 GMT
* Pekka Savola <> wrote:

> RewriteRule (%{QUERY_STRING}) ${test-program:$1}
> instead of:
> RewriteRule ^(.*) ${test-program:$1}

(the ^ is superfluous)

RewriteRule (.*) ${test-program:$1?%{QUERY_STRING}}

> .. but the former doesn't work at all.  In fact, it never executes
> test-program in the first place, as there is no debug line of that,
> like:

yeah. RewriteRule match the path only. You have to pass the query string to
the *map* like above. I hope, it's clear now.


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

View raw message