i have install mod_jk i want to disable access to tomcat directly using localhost:8080/webApp
.it should be only accessible through apache server using mod_jk module and user is also not able to see webApp
in url.
Asked
Active
Viewed 925 times
0

user1047873
- 230
- 3
- 8
- 28
1 Answers
1
You can comment out in server.xml file the Connector of type http.
This will make tomcat only listen on the ajp connector.
Regards
Philippe

UBIK LOAD PACK
- 33,980
- 5
- 71
- 116
-
thanks can you plz tell me also how to disable so webApp is also not visible in path – user1047873 Aug 13 '12 at 20:10
-
See : http://stackoverflow.com/questions/5138865/how-to-mount-context-referenced-tomcat-application-with-mod-jk – UBIK LOAD PACK Aug 13 '12 at 20:13