ProxyPass to server on certain port name (ProxyPassReverse needed)

Topics: Developer Forum
Apr 26, 2010 at 9:57 AM
Edited Apr 26, 2010 at 10:10 AM


I'm trying to use IIRF to open my internal site to outside. Internal site has RedMine installed (<cite></cite>) on port 7777. The problem happens after login: the internal site returns status 302 and location http://rmcomp:7777/redmine. When I look into response from site with IIRF on computer named ext_comp, location field contains http://rmcomp/redmine instread of expected http://ext_comp/redmine

version v2.1.1.9


ProxyPass ^/redmine/(.*)$          http://rmcomp:7777/redmine/$1

Does IIRF suport ProxyPass to non-default ports?

With best regards, Vladimir.

Apr 26, 2010 at 3:45 PM

Sure, IIRF can proxy to non-default ports.

Currently, though, IIRF does not massage the response headers from the proxied site.

If the proxied site responds with an HTTP 302 , that is what gets returned to the requester, without elaboration or transformation.

There's an open request to implement the transformation that would do what you want.  See


Apr 27, 2010 at 6:47 AM

Thank you, I look forward for ProxyPassReverse. Do you have any assumption when it may be ready?

Yet it should be noted, that some transformation still happens: when result comes from the original site, location is http://rmcomp:7777/redmine with PORT #. Response obtained from the site with IIRF contains location http://rmcomp/redmine WITHOUT port #. It was obsereved via Fiddler.