tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francis GALIEGUE <...@one2team.com>
Subject Re: URL "simplification"
Date Mon, 10 Oct 2011 09:01:08 GMT
On Mon, Oct 10, 2011 at 10:56, Léa Massiot <lmhelp1@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
fge@one2team.com
40 avenue Raymond Poincaré
75116 Paris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message