tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anurag Kapur <anuragka...@gmail.com>
Subject Re: not using the port number in the address???
Date Wed, 25 Feb 2009 20:13:44 GMT
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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message