Welcome! Log In Create A New Profile

Advanced

Browser shows rewritten URL

Posted by Yash Ganthe 
Yash Ganthe
Browser shows rewritten URL
July 24, 2012 02:40PM
Hi,

I need to rewrite
http://mysite:81/magento_mysite/abc
to
http://mysite:81/magento_mysite/?store=abc

I am able to do this using the .conf file. However, the browser shows the
rewritten URL and not the original.
Apache's mod_rewrite ensures that the browser shows the original URL and
not the rewritten one.

Is there some parameter I should be passing to avoid showing the new URL?

Thanks,
Yash
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
locojohn
Re: Browser shows rewritten URL
July 27, 2012 03:20PM
location = /magento_mysite/abc {
return 301 /magento_mysite/?store=abc;
}

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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Sorry, only registered users may post in this forum.

Click here to login