Our main web server is using IIS 6 and it obviously catches all port 80 traffic and we have another app served on a non-standard port (8443) that is hosted using Apache.

For example:

I would like to be able to access the Apache app without using port 8443. That is, IIS should rewrite/proxy content from the Apache app on the different port. Note: I do not want to redirect the user.

Is this possible? What tools should I use?

  • 1
    If it would be IIS 7 then it is easy: URL Rewrite module + Application Request Routing (both modules by Microsoft) .. or Helicon Ape (if you prefer Apache style). But you have IIS 6 .. -- I still suggest checking Helicon Ape -- looks like it should work. – LazyOne Sep 17 '11 at 0:27

This is called Reverse proxy.

And yes, this is possible for most web applications.

As to the tools, I think your best bet is to try this with the great IIRF - Ionic's Isapi Rewrite Filter - IIRF works great on IIS6, and it's fast and free.

Though I only had to use Apache's mod_proxy to set up a reverse proxy (but IIRF for rewriting urls on other sites), IIRF should be up to the task.

From the FAQ:

Can IIRF act as a transparent proxy (like Apache's mod_proxy)?

Yes. ProxyPass, ProxyPassReverse, and ProxyPreserveHost are supported.

The documentation of IIRF contains actually very concise information about setting up (reverse) proxies, as well as some guidance on what to look out for:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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