http://example.com/loginversus
http://example.com/my-app/login
For this to work you will need to configure the Host node in server.xml as shown below. Notice the full path which is required and makes sense as this is an environment specific setting.
... <Host name="bhub.nestorurquiza.com" debug="0"> <Context path="" docBase="/opt/tomcat/webapps/my-app"/> </Host> </Engine> </Service> </Server>
No comments:
Post a Comment