Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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!

share|improve this question

2 Answers 2

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
share|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

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

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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