[thelist] Moving IIS behind Apache

Katherine Spice k.spice at acu.ac.uk
Fri Oct 19 09:46:14 CDT 2001


Hi John,

Hacked from my httpd.conf - might need some tweaking as we pass the cgi
directory, not the whole site (if I understand you correctly). Here's
what I think you need:

<VirtualHost IP ADDRESS HERE>
    ServerName localhost
    DocumentRoot /usr/local/sites/www/htdocs
    ProxyPass / http://localhost:81/
    ProxyPassReverse / http://localhost:81/
    ProxyPass / http://localhost:81/
    ProxyPassReverse / http://localhost:81/
    ProxyReceiveBufferSize 1048576
</VirtualHost>

HTH,
Katherine

John Handelaar wrote:
> 
> A quickie:
> 
> Suppose I have an IIS web server running at http://localhost:81 -
> what's the virtualhost/proxypass code I need to have the same
> site appear under apache at http://localhost ?
> 
> NB: It's only a temporary thing.  I know how bad this would be
> if the site had more traffic than it does. :-)




More information about the thelist mailing list