redirect question (inception inside)

Edho Arief me at myconan.net
Sat Aug 16 10:07:59 UTC 2014


On Aug 16, 2014 6:22 PM, "Ronald Van Assche" <rva at onvaoo.com> wrote:
>
> NICE : it works
>
> more complicated one :
>
> /ue//ue/data/filename => /ue/data/filenam
> there is 2 / in the URL.
>
>  location ^~ /ue//ue/ {
>                 rewrite ^/ue(/ue/.*) $1 permanent;
>         }
>
> does not work :o(
>
>

try reading the documentation: http://nginx.org/r/location

>
> Le 16 août 2014 à 10:52, Edho Arief <me at myconan.net> a écrit :
>
> >>
> > location ^~ /us/us/ {
> >  rewrite ^/us(/us/.*) $1 permanent;
> > }
> >
> > _______________________________________________
> > nginx mailing list
> > nginx at nginx.org
> > http://mailman.nginx.org/mailman/listinfo/nginx
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20140816/178bd79a/attachment-0001.html>


More information about the nginx mailing list