Jump to content

Reverse proxy to access owa problem


sinkingfeeling

Recommended Posts

I have managed to set up a reverse proxy to enable users to access their company email from the net. I thought I was doing so well until I tried to use it today and, with out supplying any username/password I was presented with someone elses mailbox.

The code i used was:

 

ProxyRequests off

ProxyPreserveHost on

 

#OWA % character in email subject fix

RewriteEngine On

RewriteMap percentsubject int:escape

RewriteCond $1 ^/exchange/.*\%.*$

RewriteRule (/exchange/.*) ${percentsubject:$1} [P]

 

#OWA

ProxyPass /exchange hxxp://email/exchange

ProxyPassReverse /exchange hxxp://email/exchange

ProxyPass /Exchange hxxp://email/exchange

ProxyPassReverse /Exchange hxxp://email/exchange

ProxyPass /exchweb hxxp://email/exchweb

ProxyPassReverse /exchweb hxxp://email/exchweb

ProxyPass /public hxxp://email/public

ProxyPassReverse /public hxxp://email/public

ProxyPass /iisadmpwd hxxp://email/iisadmpwd

ProxyPassReverse /iisadmpwd hxxp://email/iisadmpwd

 

Please help. I am very new to apache and have no idea if If i have missed something obvious.

Link to comment
https://forums.phpfreaks.com/topic/145211-reverse-proxy-to-access-owa-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.