You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mário Gamito <ga...@gmail.com> on 2006/11/07 22:08:41 UTC
Reverse proxying in Tomcat / Apache
Hi,
I have this server with Apache and Tomcat installed.
I have a "Tomcat aplication" running, so the URL contains the :8080 port
part.
like http://zbr:8080/contineo
I want to remove the :8080 part of the URL.
I (think) know that a way is configuring reverse proxying in Apache.
I do this in a server i have with Zope (same problem with port part) and
i have Apache configured like this:
---------------------------------------------
http://localhost:8080/misc_
Proxypass /p_ http://localhost:8080/p_
ProxyPass /
http://localhost:8080/VirtualHostBase/http/www.dte.ua.pt:80/plone/VirtualHostRoot/
ProxyPassReverse /
http://localhost:8080/VirtualHostBase/http/www.dte.ua.pt:80/plone/VirtualHostRoot/
---------------------------------------------
www.dte.ua.pt is Zope running on port 8080, but one only need to type
ww.dte.ua.pt, no need for the port part.
Then, for the pages served by Apache, i make:
Alias /cv /home/vhosts/dte/cv
This gives www.dte.ua.pt/cv
My question is, how can i do the same with Tomcat and Apache ?
Any help would be appreciated.
Warm Regards,
Mário Gamito
--
Fingerprint: 0xDDC13DAE
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Reverse proxying in Tomcat / Apache
Posted by Rainer Jung <ra...@kippdata.de>.
With mod_jk you get that for free (and a lot more), but you have to
learn a bit about its configuration etc.
If you want to stick to mod_proxy, you need to investigate the
attributes proxyName, proxyPort and scheme in the docs for the
connectors and then set them inside server.xml.
http://tomcat.apache.org/tomcat-5.5-doc/config/http.html
Regards,
Rainer
Mário Gamito schrieb:
> Hi William,
>
> I'm a completely Tomcat ignorant :(
> I just installed it to deploy an application i was asked for.
>
> Best Regards,
> Mário Gamito
>
> William Bonnet wrote:
>> Hi Mário
>>
>>> I (think) know that a way is configuring reverse proxying in Apache.
>> What about using mod_jk ?
>>
>> Kind regards,
>> William
>>
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Reverse proxying in Tomcat / Apache
Posted by Mário Gamito <ga...@gmail.com>.
Hi William,
I'm a completely Tomcat ignorant :(
I just installed it to deploy an application i was asked for.
Best Regards,
Mário Gamito
William Bonnet wrote:
> Hi Mário
>
>> I (think) know that a way is configuring reverse proxying in Apache.
>
> What about using mod_jk ?
>
> Kind regards,
> William
>
--
Fingerprint: 0xDDC13DAE
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Reverse proxying in Tomcat / Apache
Posted by William Bonnet <wi...@wbonnet.net>.
Hi Mário
> I (think) know that a way is configuring reverse proxying in Apache.
What about using mod_jk ?
Kind regards,
William
--
William http://www.wbonnet.net
http://www.sunwizard.net Le site français des amateurs de stations Unix
http://www.blastwave.org An OpenSolaris Community Site
http://www.guses.org French speaking Solaris User Group
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org