You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Lynne K." <ly...@tht.net> on 2002/09/13 17:16:05 UTC
[users@httpd] ProxyPass
Hi Jacob,
I just read through some documents on mod_proxy. Is it possible to use ProxyPass instead of changing the port for my second server?
Below is the fix you gave me for my intranet to internet question.
------------------------------------------------------------------------------
1) get another IP address
2) configure your NAT box to send another port (say 81) to the outer server.
ie, www.mydomain.com:81 would be the second webserver
3) configure a proxy to send requests to www.mydomain.com/secondserver/ to
the second server, and everything else to the primary server. If you had a
couple domain names, you could make the proxy send everything from
primarydomain.com to the primary server, and everything from
seconddomain.com to the secondary server.
4) use SSI on your primary server to include files from the second server.
So, somefile.shtml could include 192.168.0.2/someotherfile.html.
5) setup a NFS so that DocumentRoot/secondserver is sourced from the
secondserver. www.mydomain.com/secondserver would show up as if it were on
the primary server.
------------------------------------------------------------------------------
Re: [users@httpd] ProxyPass
Posted by Jacob Coby <jc...@listingbook.com>.
>> I just read through some documents on mod_proxy. Is it possible to use
ProxyPass instead of changing the port for my second server? <<
I'm not familiar with mod_proxy, hopefully someone else will be able to
field this one :)
-Jacob
http://www.listingbook.com
---------------------------------------------------------------------
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