Thanks for the link. I tried to implement it according to that site.
However, I keep getting a permission denied error.

My configuration is:

ProxyPass /site2/ https://server2/site2/
ProxyHTMLURLMap https://server2 /site2
<Location /site2/>
 ProxyPassReverse /
 SetOutputFilter proxy-html
 ProxyHTMLURLMap / site2/
 ProxyHTMLURLMap /site2 /site2
</Location>

Please note that server1 and server2 are both on SSL (port 443, and access
through other ports, including port 80, is not allowed).

I also tried simply adding the following without success:
ProxyPass /site2/ https://server2/site2
ProxyPassReverse /site2/ https://server2/site2

As well as:
ProxyPass /site2/ https://server2/
ProxyPassReverse /site2/ https://server2/

Could this permission error be related to the fact that server1 and server2
are both running on SSL? I am running Ubuntu 8.10, and I've already enabled
mod_proxy (a2enmod proxy). Is there any other module I need to enable?

On Sun, Feb 1, 2009 at 5:40 AM, Krist van Besien
<krist.vanbes...@gmail.com>wrote:

> On Sun, Feb 1, 2009 at 6:57 AM, Jake Vang <vangj...@googlemail.com> 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:
>
> http://www.apachetutor.org/admin/reverseproxies
>
> Just read this, and if you have trouble implementing it you can always ask
> here.
>
> Krist
>
>
>
> --
> krist.vanbes...@gmail.com
> kr...@vanbesien.org
> 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:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>   "   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>

Reply via email to