You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by David Tonhofer <el...@m-plify.net> on 2003/06/05 15:54:52 UTC
[users@httpd] Easy(?) mod_rewrite question
Hi people,
Just this: how do I tell mod_rewrite to URL-encode (escape) its
rewritten URLs? Here's the case:
We want to redirect everything to an SSL-ed site:
RewriteEngine On
RewriteRule ^/(.*) https://secure.host.com/$1 [L,R=301]
But now a Bugzilla URL comes your way:
/bugzilla/token.cgi?a=cfmpw&t=fsSd%40ZkT
and it is rewritten,giving an access to the SSL-ed site but with
the '%' escaped, i.e. the path becomes:
/bugzilla/token.cgi?a=cfmpw&t=fsSd%2540ZkT
Which causes Bad Boss Looks and other trouble. Does anyone know a
workaround?
Best regards,
--David
---------------------------------------------------------------------
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