httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael D. Berger" <m.d.ber...@ieee.org>
Subject RE: [users@httpd] Configuring apache as a gateway for another domain on another server
Date Sun, 06 Nov 2005 20:28:53 GMT
If nothing else is suggested, I think that this could be done
with NetFilter (http://www.netfilter.org/).  Hopefully, something
else will be suggested.
Mike.

--
Michael D. Berger
m.d.berger@ieee.org 

> -----Original Message-----
> From: Bart Heinsius [mailto:bheinsius@gmail.com] 
> Sent: Sunday, November 06, 2005 9:14 AM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] Configuring apache as a gateway 
> for another domain on another server
> 
> 
> From what I read in the documentation, mod_proxy works for routing
> requests for www.d1.com/myapp1 and www.d1.com/myapp2 (notice that both
> url's are in the d1.com domain) to be served by different servers on
> the internal network.
> 
> What I want is to route requests for www.d1.com and www.d2.com to
> different servers (notice the difference in domain names), where
> www.d1.com and www.d2.com have the same ip address in the outside
> world dns.
> 
> With Virtual Hosts I can manage different domain names to be served
> from different directories.
> With mod_proxy I can manage different url's on the same domain to be
> served by different servers.
> I need a combination of both: different domain names being served by
> different servers.
> 
> Thanks,
> Bart.
> 
> On 11/6/05, Nick Kew <nick@webthing.com> wrote:
> > On Sunday 06 November 2005 12:10, Bart Heinsius wrote:
> > > Hi,
> > >
> > > I have two servers on my internal network with apache on 
> them, lets
> > > say m1 and m2.
> > > I want to host two domains on my network, lets say www.d1.com and
> > > www.d2.com. The router routes all external http requests 
> to server m1.
> > > External requests for www.d1.com should be processed by 
> apache on server
> > > m1. External requests for www.d2.com should be processed 
> by apache on
> > > server m2. How would I do this?
> > > I googled around and looked on apache.org which directed met to
> > > mod_proxy but I don't think that works in this situation.
> >
> > mod_proxy is exactly what you need.  see also
> > http://www.apacheweek.com/features/reverseproxies
> >
> > --
> > Nick Kew
> >
> > 
> ---------------------------------------------------------------------
> > 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-unsubscribe@httpd.apache.org
> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> 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-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 



---------------------------------------------------------------------
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-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message