tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anurag Kapur <anuragka...@gmail.com>
Subject Re: how
Date Wed, 25 Feb 2009 20:10:48 GMT
As Chuck mentioned, you should have asked your question in a smarter way :)
Anyhow, coming back to your question,

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:14 PM, Caldarale, Charles R <
Chuck.Caldarale@unisys.com> wrote:

> > From: nicumarius [mailto:nicumarius@yahoo.com]
> > Subject: how
> >
> > what should I do to not use port number when writting the
> > address of a page on the Apache server?
>
> http://www.catb.org/~esr/faqs/smart-questions.html
>
>  - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you received
> this in error, please contact the sender and delete the e-mail and its
> attachments from all computers.
>
> ---------------------------------------------------------------------
> 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