httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Malo ...@perlig.de>
Subject Re: [users@httpd] rewrite: RewriteMap prg: doesn't support full query string
Date Sat, 03 Jan 2004 13:17:48 GMT
* Pekka Savola <pekkas@netcore.fi> 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.

nd

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message