After searching online(seeing mixed results), and searching through the Wiki, I was hoping someone can confirm how I can do the following:
I installed my app, and it has a default URL of: http://something:port/webappname/morestuff.action I was wondering if it was possible to setup Tomcat so I could browse to here: http://something and have it either point at my webapp or redirect to my webapp. >> You can do this by running your tomcat behind HTTP. >> I had put this question on SO please find below the link http://stackoverflow.com/questions/22040995/show-home-page-through-tomcat-without-changing-url/22051976#22051976 please let me know if this helps. Chris, can you please put some more light on what I have done is correct way of doing it or not. I did it because i wanted to have landing page of my website which had dynamic content to be loaded and i didn't want to use redirection to any other url. Thanks, Shailesh. On Wed, Apr 23, 2014 at 11:15 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Nam, > > On 4/23/14, 12:40 PM, Nam Pham wrote: > > After searching online(seeing mixed results), and searching through > > the Wiki, I was hoping someone can confirm how I can do the > > following: > > > > I installed my app, and it has a default URL of: > > http://something:port/webappname/morestuff.action > > > > I was wondering if it was possible to setup Tomcat so I could > > browse to here: http://something > > > > and have it either point at my webapp or redirect to my webapp. > > André has half the solution: making your application to be the > default. There is another piece of the puzzle, which is to eliminate > the port number. Unless the port number is 80 (for HTTP) or 443 (for > HTTPS), then you will require the port number in the URL. > > So, the simple answer is that you have to change the port number your > connector is listening to. The longer answer is that sometimes that's > not terribly convenient due to operating system restrictions and other > environmental factors. > > If you can't get it working, tell us about your environment, perhaps > we can help. > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1 > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQIcBAEBCAAGBQJTV/wmAAoJEBzwKT+lPKRYfAYQAJYQA3cdrnMjD1YxkiH/VQPm > JfotzKK5J1GZljxpiLGy4RKq+zmqmmjYh8i176pVufx+S6r8AILqRcPiLNFc9Wwp > BfiPeaPOBAiOY4m2Y0jwS1CfT3sECDOF8azJuIq46iMVu4n9kknSzutjZ7M9rG9w > F4l9M2JGJ81n9nmeTg4zIzqjm2GyhFezSNJ+lrEtqZmD9u51tmsh7HPTOskSS17d > HfDS6o1rTLq74uvi8IytHwa6a42TXg9d6jWhTEM9SugtP8ixnwV8/hA1oYfv7ON8 > yhRdaDRdHva6siSxpKApx+gARyCTTnsFTyyWVcJiTZeHmaRZ+/5FiXtyC+LRFC+P > DumGlFeopXL2d/WjGCUBJVvLsuF118eS0qPQd3uGobyXO0O+CwkSdGgiy0FST5ah > N/cqC6PE2FbpuFuvS9/O41y3NUdqpH2vXohBKMoEjw3XcAnL2qooAu5gWpWCQsfX > SAV1EfT77kryd7FszUw10B6aFtKkfyFwqxN2Ec3DLxUScNAfwsm/TEv1zERvD0ly > sJaJDcAYYuW7nwKN7zINAX34jMvT4K1Ipjsi/swukchMlP8drXsWSRanBk/UwMZh > ntqP+4MEMctCtG1AnZ17a7nKck/CnAVR4iQRxsLS2jYrU5mPrFTKTkzrK/MhN4TC > yGB0ewxfd2VxB45YMivt > =d+D4 > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >