You can also do it with iptables, converting any port 80 request to 8080. The user types in http://mywebapp but gets redirected to http://hostname:8080
On 10/10/11 8:01 PM, "Francis GALIEGUE" <f...@one2team.com> wrote: >On Mon, Oct 10, 2011 at 10:56, Léa Massiot <lmhe...@orange.fr> wrote: >> >> Hello, >> >> Thank you for reading my post. Here is my question: >> >> - Presently, to access my WebApp first page, I have to type in the >>following >> URL in a browser: >> http://hostname-or-ip:8080/my-webapp/ >> - Instead, I wish I could type in a URL such as: >> http://my-webapp/ >> Is it possible? >> How? >> > >For this, you'd need to deploy your webapp as root, and then make the >HTTP connector listen on port 80... Which means running Tomcat as >root, which is a pretty bad idea. > >Another solution would be to install Apache and configure a vhost with >proxying. > >-- >Francis Galiegue >ONE2TEAM >Ingénieur système >Mob : +33 (0) 683 877 875 >Tel : +33 (0) 178 945 552 >f...@one2team.com >40 avenue Raymond Poincaré >75116 Paris > >--------------------------------------------------------------------- >To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >For additional commands, e-mail: users-h...@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org