Friday, 3 August 2007

Apache Proxypass and IIS

Once upon a time, in a lad far far away... Mr Fletcher had two demonstration servers on his local network, an excellent Linux box running php/apache, also running some funky wildcard DNS Shizzle and the other box running Windows 2003 & IIS.

However, he only had one IP address could only demonstrate one server at any given time, until he discovered Apache's ProxyPass with added wildcards.

Here's the apache Virtual Host;

<VirtualHost *:80>
ProxyPreserveHost On
ProxyRequests Off
ServerAlias *
ProxyPass /
ProxyPassReverse /
<VirtualHost *:80>

In this example, all subdomains of now forward onto the IIS server.

1 comment:

Web Design Quote said...

Your blog is very nice.
Suffolk Web now offers a new interface to search everything in the County Catalog as well as some databases or images from one simple box.
Thanks for sharing with us.