Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Are Advanced Reverse Proxy Options Possible

I am trying to setup a reverse proxy for our phone system (ShoreTel). Not only is a reverse proxy required, but so is mod_rewrite. I see that the reverse-proxy HTTP configuration (/var/chroot-reverseproxy/usr/apache/conf) includes the mod_rewrite module, but is there a way to put in my own rewrites and/or virtual server definitions without having to do anything crazy (like 'chattr +i ...')?

The config I need to setup is something like this:

RewriteRule ^/theme/(.+)$ /director2/theme/$1 [P] RewriteRule ^/yui_2.7.0/(.+)$ /director2/yui_2.7.0/$1 [P] RewriteRule ^/js/(.+)$ /director2/js/$1 [P]
ProxyPass /authenticate/ http://10.0.0.1/ ProxyPassReverse /authenticate/ http://10.0.0.1/
ProxyPass /cas/ http://10.0.0.1:5447/ ProxyPassReverse /cas/ http://10.0.0.1:5447/
ProxyPass /director2/ http://10.0.0.1:5449/ ProxyPassReverse /director2/ http://10.0.0.1:5449/

Without this, the redirects the system uses end up trying to redirect back to the private IP and that's not going to work.

Thanks!

Tim


This thread was automatically locked due to age.
Parents
  • Yeah I thought about too. The filtering works but the problem is having to solve for the port-redirects. ShoreTel is weird in that a login session jumps across from port 80 to other ports (5449) during the login process, and I assume for other random things within the system. Not sure why the opted to go that route, but the problem there was I could not put in multiple port settings into the WAP or specify how to handle them.

    Basically, if Astaro would allow including config files (in the web-interface or otherwise) into various configs, that would totally solve the problem. That way I can just including my own mod_rewrite definitions. I can do that now, but not without Astaro overwriting them (and without possibly nullifying our support contract, so that's bad juju [:)] )
Reply
  • Yeah I thought about too. The filtering works but the problem is having to solve for the port-redirects. ShoreTel is weird in that a login session jumps across from port 80 to other ports (5449) during the login process, and I assume for other random things within the system. Not sure why the opted to go that route, but the problem there was I could not put in multiple port settings into the WAP or specify how to handle them.

    Basically, if Astaro would allow including config files (in the web-interface or otherwise) into various configs, that would totally solve the problem. That way I can just including my own mod_rewrite definitions. I can do that now, but not without Astaro overwriting them (and without possibly nullifying our support contract, so that's bad juju [:)] )
Children
No Data
Share Feedback
×

Submitted a Tech Support Case lately from the Support Portal?