[prev in list] [next in list] [prev in thread] [next in thread]
List: tomcat-user
Subject: Re: not using the port number in the address???
From: Anurag Kapur <anuragkapur () gmail ! com>
Date: 2009-02-25 20:13:44
Message-ID: 2fb267f80902251213g3d2124br7161b1e4ce377fc7 () mail ! gmail ! com
[Download RAW message or body]
You can use Apache HTTP server and use mod_proxy_http or mod_proxy_ajp
modules to forward all requests on port 80 on apache to port 8080 on tomcat.
Specifically use the ProxyPass directive to achieve what you want. Example:
ProxyPass / http://localhost:8080/your-app/
The above directive would forward all requests on the root context on port
80 to be proxied to your-app under tomcat on port 8080.
Read about it in detail here:
http://httpd.apache.org/docs/2.0/mod/mod_proxy.html
Cheers
Anurag
------------------------------------------------------------------
Anurag Kapur
Associate - Technology,
Sapient Corporation India.
http://www.linkedin.com/in/anuragkapur
------------------------------------------------------------------
On Wed, Feb 25, 2009 at 2:10 PM, nicumarius <nicumarius@yahoo.com> wrote:
>
> what should I do to not use port number when writting the address of a page
> on the Apache server?
> --
> View this message in context:
> http://www.nabble.com/not-using-the-port-number-in-the-address----tp22203518p22203518.html
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic