Double slash in my url ...
Igor Sysoev
is at rambler-co.ru
Tue Jun 10 16:24:32 MSD 2008
On Mon, Jun 09, 2008 at 05:11:52AM +0200, leandre dupont wrote:
> I have little problem witch double (or more) // in my url
>
> Ex : www.example.com//toto = 200
>
> Ex : www.example.com/tata//lolo/bobo/ = 200
>
> Ex : www.example.com/tata/lolo///bobo/ = 200
>
> Ect.
>
> Im search solution for send 404
>
> I test rewrite rule, but i dont understand why is doesnt work.
>
> If you have any idea ;) ?
if ($request_uri ~ //) {
return 404;
}
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list