I would like to know what are the options for using Apache's HTTP server as a reverse proxy for IIS7 (serving ASP.NET content under 3.5 .NET Framework).

For JBoss/Tomcat or any other Java Application Server, I will use MOD_JK, but I would like to know what are your experiences with IIS7. What connectors are there available (if any) and what are the pros and cons of each one.

Thanks a lot. Great site!

link|improve this question

feedback

2 Answers

up vote 1 down vote accepted

Just use mod_proxy and configure it as reverse proxy.

Here's the example from the 2.2 reference manual:

ProxyRequests Off

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

ProxyPass /foo http://foo.example.com/bar
ProxyPassReverse /foo http://foo.example.com/bar
link|improve this answer
Having used this exact configuration for years now, I can confirm it works just fine. Just be sure to include monitoring of the proxy as well as the webserver - it does no good to have IIS up but Apache down. – Avery Payne May 4 '09 at 21:19
feedback

The answer above is correct, and if you want SSL support:

SSLEngine On
SSLProxyEngine On
SSLCertificateFile /etc/apache2/webmail.pem
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.