0

I'm deploying my Java Web Application on VPS which has apache2. The application is being deployed in tomcat7. I've added entries to forward the request from apache to tomcat in httpd.conf. The war file is named as MyWebApplication.war and I've updated the server.xml in tomcat as well.

<Context docBase="./MyWebApplication" path="" reloadable="true" />

When I'm going to the site, it is both accessible from www.MyWebApplication.com and www.MyWebApplication.com/MyWebApplication.

I want to prevent the access of the application from the second url. What might be the issue here?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.