tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Darryl Lewis <darryl.le...@unsw.edu.au>
Subject Re: URL "simplification"
Date Mon, 10 Oct 2011 10:11:58 GMT
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" <fge@one2team.com> wrote:

>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
>


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


Mime
View raw message