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
  • I can, but I think the redirect will still cause problems, plus they don't recommend it. I assume because they don't want to expose sensitive URLs to the outside world (such as the administrative section)
Reply
  • I can, but I think the redirect will still cause problems, plus they don't recommend it. I assume because they don't want to expose sensitive URLs to the outside world (such as the administrative section)
Children
No Data