Apache httpd + (internal) Tomcat + virtual hosts
- From: "ben short" <ben (at) benshort.co.uk>
- Date: Tue, 19 Sep 2006 15:57:45 +0100
Hi,
I have used virtual hosts configured as below on a Apache 1.3 server
to proxy to Tomcat. Maybe of interest to you.
<VirtualHost 10.0.0.10:80>
ServerName www.domain1.com
ProxyPass / http://192.168.100.20:8080/app1/
ProxyPassReverse / http://192.168.100.20:8080/app1/
ProxyRequests off
ErrorLog logs/domain1-error_log
TransferLog logs/domain1-access_log
</VirtualHost>
I think you will need the following line also..
LoadModule proxy_module /usr/lib/apache/modules/libproxy.so
Regards
Ben
On 9/19/06, Mikolaj Rydzewski <miki (at) ceti.pl> wrote:
Carlos A. Carnero Delgado wrote:
> We will install Apache 2.2.x if we can't find a solution within 48
> hours ;) Part of the problem is that it was decided, from on-high,
> that the production HTTP server would be Apache 2.0.x, which does not
> have neither the built-in ajp proxy nor the cookie-handling proxying
> directives.
Does setting proxyHost attribute in http connector helps? I think it
should change cookie domains.
--
Mikolaj Rydzewski <miki (at) ceti.pl>
---------------------------------------------------------------------
To start a new topic, e-mail: users (at) tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe (at) tomcat.apache.org
For additional commands, e-mail: users-help (at) tomcat.apache.org