Welcome! Log In Create A New Profile

Advanced

Nginx rewrite rules for .jsp?

Posted by snacct 
Nginx rewrite rules for .jsp?
July 10, 2010 07:00PM
Hi

I currently reverse proxied my tomcat using nginx, is there a way/rule to rewrite my url .jsp requests to another extension like .php, .asp or a clean url without redirecting the url request, I mean the server still process the original url then gives back a different url but still the original request page

eg: http://www.website.com/index.jsp ---> http://www.website.com/index.php [b](with the content of index.jsp)[/b]

Please Help thanks!
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 303
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready