httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jérôme DESPATIS <jer...@despatis.com>
Subject Re: [users@httpd] mod_rewrite doesn't rewrite when the url contains %2f
Date Tue, 06 Dec 2011 11:01:09 GMT
Ohh, big thanks :)

I understand the option now due to security

thanks again

Le 06/12/2011 11:56, Tom Evans a écrit :
> On Tue, Dec 6, 2011 at 10:52 AM, Jérôme DESPATIS<jerome@despatis.com>  wrote:
>> Hello,
>>
>> I have a strange problem, I want to redirect everything to index.php in a
>> vhost (index.php is my controller), so I use the minimalistic vhost config,
>> indicated at the end of this mail
>>
>> afterwards, when I go to http://testtag.poseidon.dev/%20, all is ok, I can
>> see my rewrite log (in /tmp/apache.log), the access 200 in my access log
>>
>> But if I go to http://testtag.poseidon.dev/%2f (%2f is the code for /), or
>> in fact whatever url that just contains %2f (for example, it can be
>> http://testtag.poseidon.dev/whatever%2f___
>>
>> =>  then I get a 404 error, the rewrite log is empty (the rewrite engine
>> doesn't seem to be executed at all!), I still can see a 404 access in my
>> vhost access log (and further more, no other access log in /var/log/apache2/
>> is filled in)
>>
>> If you understand what's going on in this completely weird problem, you're
>> welcome!!
>>
> Hey Jerome
>
> http://httpd.apache.org/docs/2.2/mod/core.html#allowencodedslashes
>
> Cheers
>
> Tom
>
> ---------------------------------------------------------------------
> 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
>


-- 
Jérôme Despatis
jerome@despatis.com


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