-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Sandip,
On 1/3/15 12:37 AM, Sandip Gaikwad wrote: > * Are you sure there are no other JkMounts?* Yes. There are no > other JKMounts. > > > * What is your DocumentRoot set to? Do you have any Alias > directives that are pointing into CATALINA_BASE/webapps?* In which > file should i look these. I haven't set them. httpd.conf, or anything that has been included by httpd.conf. > *I don't see any actual problems so far, but there's still room > for "alternative" configuration. What's in your "webapps" > directory?* > > *tomcat installation default folders (like docs, host-manager, > manager, ROOT) and jenkins, example2* I am able to access apache > using url http://localhost I am not able to access any tomcat apps > using urls like http://localhost/jenkins or > http://localhost/example2 But when i put port number in url i can > access urls like http://localhost:8080/jenkins or > http://localhost:8080/example2 I short, I am expecting access > http://localhost/jenkins Oh, of course. If you use http://localhost/example2 then you will get 404 (or whatever). If you add a port number, you're accessing CHADIS directly and therefore the JkMounts you've put into httpd.conf have no effect whatsoever. If you want to use Apache httpd as a reverse-proxy, then you should use it and not circumvent it by using the port number to hit Tomcat directly. If you don't want those other webapps to be available even when using port 8080, then remove them from your webapps directory. Another option would be to remove the HTTP <Connector> from server.xml so you can only access web applications via AJP. But remember that the user is still under no obligation to go through your reverse-proxy unless you configure your network appropriately. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJUqwPnAAoJEBzwKT+lPKRYPt4QAKNCI7OAKCe9TaAVjrkJRDI1 a0sQzqPj92Z1Jvp53j3P4+DaEFeFZMAVEg3v29Ym6/ZpCL+ICqB3NWpGH8+gZUuR xRENV8J2qhhBNJ643Myei3FMmHc7YAdS7+hCQTcoDdBXU3HC1JaSDkST1PDn9hEA 90lZ0a1UCiqYe9dWpJpWV+xs43IykalgOf7weN7rJBY1hoE1WxVXdgpc8R+HQWO4 645lYq795GyBRsg3ZdvWF9KKF5BZiu4i4nKmtcZcz9tespZrUkv0x2f+o3Ysw9N0 hS2RZG8wEZBR1qAW3GieVUh8B1CpeNPAvcsNeZov3tEn+FxIM9QKLJq2dSvjq+9Y BlpyhbiasGtYcmxEBN7fUFDxBXMKC8KkQGwIXdKCXKderAWtqz0ocl8gEG8GpQoJ 1capCQsVwFDJlJ2L69tn7wWrFhI7kVV/Vebxx+P2whmKbtNOPk8QFnVdtGd7yINs GXHb48RlCK5RyuKXsSAOGNBfa6yQ8Tpp4SHzH5WBPOXsNnBcKTgTjmcA7xiBiAbE 3BD6xuPNUe99EUAHb9yAPe4EvXkvMkOhzzdL5PuSvYI9sF17BSl0HoHaMo2VX4LH yyTV11NAV1HzfO/lIAYTampTfc1ivwg15Qib8ghBNRbHjEk2kJ3fn3naBksRXX97 x56a4TCrVsJOwsRp7nVj =RNQN -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org