This content has been marked as final. Show 1 reply
This is exactly what I'd like to do. The URL mapping would be like this:
http://server-a.example.com/index.html ---maps to--- http://localhost:8080/server-a/index.jsp http://server-b.example.com/index.html ---maps to--- http://localhost:8080/server-b/index.jsp http://server-c.example.com/index.html ---maps to--- http://localhost:8080/server-c/index.jsp
My initial thought was to configure Apache as a reverse proxy between the browser and tomcat with a bit of URL rewriting added to handle the application context prefix and *.html -> *.jsp conversion.
Has anyone done this? Is there a better way?