-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 To whom it may concern,
On 4/24/14, 11:44 AM, J Java wrote: >> Whoever you are > I am just a relatively novice Java developer. and certainly not as > famous or an expert like you. I'm just getting confused. You first posted as Nam Pham ("signed" as "Nam"). Then as J Java. And your StackOverflow question says Shailesh Vaishampayan. I can't keep up. >> The correct way of doing things is to make re-name your web >> application ROOT and deploy it as such. If you want to get rid of >> the port number, you'll have to run Tomcat on port 80 instead of >> 8080 or 86 or whatever > > Ok. but what if i have to do this for multiple applications on a > single tomcat. I guess tomcat can have only one default ROOT app. > right? Each virtual host can only have one default (ROOT) web app. Read about virtual hosting in the Users Guide. > Also general practice is to run tomcat behind HTTP and not expose > it directly to internet. Please forgive me if my assumptions are > absurd There is no specific reason to front Tomcat with httpd if you only need one instance of Tomcat. Most people need multiple instances for various reasons, and since Tomcat doesn't do reverse-proxying, generally people use httpd or something similar out front. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJTWTP6AAoJEBzwKT+lPKRYAgsQALNU5fzFzTm/GMXstm5+PFLW pxPkTC3XmaolNa1hh7UQQ50K2a1ehG3wqnrsrsWHNgbzLHPDveeicWq5mU2o0/B6 xVZF8KL1R8n8ZC63RkTnXoRrMOVfd/+3lp3jZsie7EmIchbVCzrrzniJqvHuPxg4 K1mdbtG6ZYI89WRh9wC1Yw4DXuCdpPdREE7kCQizSeYcMR08JknCnGxtkNn0kvJk TEhpBFiTwgv+FerLTtAoX2+0gE4f6k1k5YpG7SCuXTIo29VpCgMAFu3Owp+7C25F ZnkKqNXvr4AC1rW125fiVtHQ9s0AYls3F4KnZQW1g3MXsvWhYpqwV/3riCykJDgS k4up1/DOyovKKKAP31trKdGbKRem3al1wPS2iTcnZaTmKzGNMfCvnjWxYuCFKkHD SLnnkqEFEm1rId0Dnwm4vRDSgsBO2qTCCELTJeveOYkYRm9mZpE6DgmajKftyC/v kjAUEoo6nIIUJfXHpcf24tDbzILzzKB4gwT8aiTgePv2BSABma9qb/10d1eVOZoV UkYag4Yvtm/vBsazKpCeFhgLjWDLzC4gKMeL29cHgvRRmVQvwUZuhmzb3hRIBHIH 5VhHAbwI789JvpBHM9Xuevq8umaBfXkFf5vfDbn/R/6++bl8Fx6+vaMHe0ZSaoHf wvrqFn3UFxYV4oyac3nL =vCAS -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org