Have tried countless RewriteRule, including those suggested by previous posts. Unefortunately, none works with my problem. Any help appreciated.
A:
First, add to you vhost config: (adding to .htaccess won't work)
RewriteMap escape int:escape
Next, replace any occurrence of a variable in question with
${escape:$N}
, e.g. replaceRewriteCond %{REQUEST_FILENAME} !-s RewriteRule ^([^/]+)$ ?query=$1 [L,QSA]
withRewriteCond %{REQUEST_FILENAME} !-s RewriteRule ^([^/]+)$ ?query=${escape:$1} [L,QSA]
sanmai
2009-11-09 06:13:48
francois
2009-11-09 07:36:00
+2
A:
Try this rule:
RewriteCond %{QUERY_STRING} ^(([^%]+|%([013-9a-fA-F][0-9a-fA-F]|2[0-57-9a-fA-F]))*)%26(.*)
RewriteRule ^ %{REQUEST_URI}?%1&%4 [N]
Gumbo
2009-11-09 08:42:33
Fantastic !!! When I got my approval, I just could not believe my eyes !!! I wanted to vote up but I am not allowed yet :-( Anyway thanks a lot. Have a great day. Francois
francois
2009-11-09 15:13:10