httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Tonhofer <el.to...@m-plify.net>
Subject [users@httpd] Easy(?) mod_rewrite question
Date Thu, 05 Jun 2003 13:54:52 GMT
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


Mime
View raw message