httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Ionescu <robsie...@googlemail.com>
Subject Re: [users@httpd] rewrite module/regexp question
Date Thu, 16 Feb 2006 13:06:39 GMT
Kjell Grindalen wrote:
> RewriteRule ^/$ http://www.otherdomain.com/Amat\%C3\%B8ren/ [R]
> 
>  
> 
> My problem is that when its written out to the client, it comes out like
> this
> 
>  
> 
> http://www.otherdomain.com/Amat%25C3%25B8ren/

Use the NE flag (no escape) to prevent the escaping of % into %25

RewriteRule ^/$ http://www.otherdomain.com/Amat\%C3\%B8ren/ [NE,R]

-- 
Robert


---------------------------------------------------------------------
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