Reverse Proxy Pass - Not keeping port number

Topics: User Forum
Mar 22, 2013 at 7:21 PM
Hi everyone,

I have been trying to get a reverse proxy working on my company web server (IIS 6) to run Open Atrium on the same server but as a bitnami stack. The Apache server listens on port 8080

First, here is my .ini file:
RewriteCond %{HTTP_HOST}   portal\.domain\.com$  [I]
ProxyPass ^/(.*)$$1
Now if I go to it will say 'page not found' but it still shows a few links that would usually be shown, but in a basic HTML format. The address shown is

If I go to then of course it works. What am I missing to make work properly?

Thanks for any help!
Mar 30, 2013 at 3:45 AM
Hi there,

1) maybe you can log all requests by enabling it on iirf_global.ini and see what's happening with each request.

RewriteLogLevel {0,1,2,3,4,5}
This directive sets the level of logging performed by IIRF. A higher number means more logging:

0 - no logging
1 - log messages for ini file load and parse events, as well as errors
2 - Level 1, plus two lines in the log for each successfully handled URL request
3 - verbose logging for each request.
4 - also emit trace on server variable replacement and string replacement
5 - also include messages on other minor events of interest. This is generally not useful for end users.
The default is zero. If you set an out-of-range value for the log level, you may not get logging. A non-zero value is useful for auditing and monitoring purposes, as well as for giving you that warm fuzzy feeling, knowing that something good is happening.

2) My best guess is your regular expression. I'm just guessing because I'm not good at it:

RewriteCond %{HTTP_HOST}$ [I]
ProxyPass ^/(.*)$$1

There is a '^' missing...
RewriteCond %{HTTP_HOST} ^$ [I]
ProxyPass ^/(.*)$$1