Yes somehow in this case apache is treating the urlencoded string of a
forward slash as a forward slash and so isnt matching the rule
properly.
On 23/02/2006, at 9:58 PM, Jared Williams wrote:
Subject: Re: encrypted urls, mcrypt and mod_rewrite
Somehow this part of the string is a problem, it has
underscores, but there is probably other things in this.
_%E5%D4%13%82%C9%DFN%5EFs%5E47%B2v%2F%D7%A4%0C%C6%9EnJ
I'd base64 encode that first then urlencode :)
On 23/02/2006, at 6:01 PM, Dan Rossi wrote:
Hi ive been trying to find answers with no luck. I am sending a
urlencoded encrypted string made with mcrypt. what is happening is
there is somehow special characters that mod_rewrite doesnt
like so it
wont find a regex match properly with this rule
RewriteRule ^feeds/(.*)$ refer.php?$1 [L,QSA]
Any ideas what it could be doing ? The strings are also
quite random,
so it will work sometimes for a particular url then other
times not ?
Jared
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php