httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krist van Besien <>
Subject Re: [users@httpd] connecting two apache http servers
Date Sun, 01 Feb 2009 10:40:05 GMT
On Sun, Feb 1, 2009 at 6:57 AM, Jake Vang <> wrote:
> I want to connect two Apache HTTP servers in the same way that I would
> connect Apache to Tomcat with mod_jk.
> Right now I have two Apache servers, apache1 and apache2, accessed at
> http://apache1 and http://apache2, correspondingly. Apache1 and Apache2 each
> has a website, accessed by http://apache1/website1 and
> http://apache2/website2, respectively. My problem is that I want to use
> apache1 as a front end for both servers (since it is the only server that is
> accessible to the outside world). How do I set up apache1 so that if users
> access http://apache1/website2, the request will be sent to
> http://apache2/website2, but still, the URL will be http://apache1/website2?
> This set up is similar to the possibility with Apache + Tomcat via mod_jk.
> In this situation, if Tomcat is running on port 8080 with AJP, then I can
> access Tomcat with http://tomcat:8080/tomcat-site. I can set up Apache as a
> frontend (to the outside world) so that when users type in
> http://apache/tomcat-site, mod_jk will connect to Tomcat. Is there a similar
> connector for Apache-to-Apache?

Sure. It's called mod_proxy, and you can read all about it here:

Just read this, and if you have trouble implementing it you can always ask here.


Bremgarten b. Bern, Switzerland
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message