httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anoop.V" <anuchetta...@yahoo.com>
Subject [users@httpd] URL-Rewrite Problem
Date Fri, 16 Oct 2009 12:41:07 GMT
I have a problem with rewriting certain urls which contains special characters.Please have
a look at the following urls
RewriteRule ^/Football/Quarter-Reports%C2%A0    /Football/Quarter-Reports  [R=301,L]
The problem is the server interprets it differently as the special characters change the url.
If I changer the rule to something like RewriteRule ^/Football/Trend-Reports(.*) or [a-zA-Z0-9-]*
it will not redirect properly.
Some another examples are given below.
1) RewriteRule ^/Tennis/Play/xyx-xyz-s-Winning-game%20target=   /Tennis/Play/xyx-xyz-s-Winning-game
  /Tennis/Play/xyx-xyz-s-Winning-game [R=301,L]
2)  RewriteRule ^/Football/xyz-xyz-to-Play/Fall-2008-Ready-to-Play/STAERK/ST%C3%86RK      
/Football/xyz-xyz-to-Play/Fall-2008-Ready-to-Play/STAERK/STAERK

Does anybody has any experience with this? Please suggest some solutions.





      
Mime
View raw message