nginx rewrite help

Kevin Castiglione kevincastiglione at gmail.com
Thu Jun 18 08:22:46 MSD 2009


hei guys
i want all urls to be re-written as follows:

xx /host/xx

xx is the url full path, it should be written as /domain/xx where host is
the hostname.

for example www.ABCD.COM <http://www.abcd.com/>

/test?1 ---> /ABCD.COM/test?1 <http://abcd.com/test?1>
is it possible to do this with nginx?
thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090617/ed850a8d/attachment.html>


More information about the nginx mailing list