Re: [users@httpd] Proxy and Virtual Host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Heya,

> www.mysite.com - IIS
> www.mysite.net - IIS
> svn.mysite.net - Apache 
> Is this possible? I'm not very familiar with Httpd, but I have set it
> up about half a dozen times for Subversion. Thanks in advance for any
> help!

Yes it's possible. What you need to do is forward the incoming port 80
request to Apache. Then setup a mod_proxy setup for the virtualhosts you
require (ala mysite.com & svn.mysite.net). Provided local DNS resolution
is setup correctly the Apache server will do a lookup, resolve to the
local LAN address and proxy traffic to/from.

Something like:

<VirtualHost 123.123.123.123>
ServerName www.mysite.com
ProxyRequests Off

<Proxy *>
Order deny,allow
Allow from all
</Proxy>

ProxyPass / http://www.mysite.com:81/
ProxyPassReverse / http://www.mysite.com:81/

</VirtualHost>

Where 123.123.123.123 is the address your inbound port 80 traffic is
going to. Port 81 is your IIS server (could put Apache on 81 and prrroxy
from 81 -> 80 if you feel like it).

Stuart


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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux