How to redirect internally?

Yash Ganthe yashgt at gmail.com
Fri Jul 27 12:12:17 UTC 2012


Hi,

I have created a config so that a URL like
www.mysite.com/abc/electronics.html is rewritten as
www.mysite.com/index.php/electronics.html?store=abc.

This is what I see in Mozilla Firebug


GET abc/electronics.html

301 Moved Permanently


GET index.php/electronics.html?store=abc

200 OK

What is annoying is that the browser now shows the rewritten URL and not
the pretty URL. How can we ensure that the redirection happens only
internally?

Thanks,
Yash
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120727/b0deaf03/attachment.html>


More information about the nginx mailing list