rewrite rules issue

nicocolt nginx-forum at nginx.us
Sun Apr 19 13:53:43 UTC 2015


Hello,

you're right, my rewrite says that my request is handle like
http://subdomain.domain.fr/subdomain/directory/. But it is not that i want.

I want that my request is handled like this:

http://subdomain.domain.fr/directory/ and i don't want see the intermediate
path. I don't understand how to proceed in order to see only
http://subdomain.domain.fr/directory/ instead of
http://subdomain.domain.fr/subdomain/directory/

Thaks for your help !
Best regards,
Nico

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,258184,258201#msg-258201



More information about the nginx mailing list