httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clodoaldo Pinto Neto <>
Subject [users@httpd] Query string encoding
Date Fri, 03 Apr 2009 15:52:57 GMT
I want to rewrite a url to a query string like this:

from to
from to

RewriteRule ^(/([\w-()+]+))?/$ /?var=$2 [QSA]

The problem i have is that the query string is passed to the
application unencoded so the "+" is understood by the application as
space. How to reencode the query string before it is passed to the

Rewrite log: - - [03/Apr/2009:12:22:46 --0300]
[][rid#7fa25c0ea338/initial] (3) applying
pattern '^(/([\w-()+]+))?/$' to uri '/x+/' - - [03/Apr/2009:12:22:46 --0300]
[][rid#7fa25c0ea338/initial] (2) rewrite
'/x+/' -> '/?var=x+'

Regards, Clodoaldo

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