Trouble with Reverse Proxy and Back End Scripts
"Correale, Ernest" <[email protected]>
| Newsgroups | gmane.comp.apache.mod-proxy |
|---|---|
| Message-ID | <[email protected]> |
I am trying to hide my MS Exchange web-mail server (IIS) behind an
Apache web server by using Apache as a reverse proxy. The proxy
functions as far as passing data from the IIS server to the Internet
client but in doing so, it breaks the Java and VB scripts used in the
web pages being reverse proxied. Script source code appears where the
java script is located on the page. I have spent a good deal of time
attempting to resolve this on my own but have not been able to do so.
Is this a problem with Apache or do I have a configuration problem?
I'm using Apache 1.3.23-14 on RedHat 7.3
The relevant portion of my httpd.conf file is below. .
Any help would be greatly appreciated.
Thanks,
Ernie
<VirtualHost 10.0.0.13:443>
DocumentRoot /www/mail.halkey-roberts.com/html
ServerName mail.halkey-roberts.com
SSLEngine on
SSLCertificateFile /etc/httpd/ssl/server.crt
SSLCertificateKeyFile /etc/httpd/ssl/server.key
SetEnvIf User-Agent ".MSIE.*" nokeepalive ssl-unclean-shutdown
ProxyPass / http://mail.halkey-roberts.com/exchange/
ProxyPassReverse / http://mail.halkey-roberts.com/exchange/
ProxyPass /exchange/ http://mail.halkey-roberts.com/exchange/
ProxyPassReverse /exchange/ http://mail.halkey-roberts.com/exchange/
LOG FILES
ErrorLog /www/mail.halkey-roberts.com/logs/ErrorLog.log
TransferLog /www/mail.halkey-roberts.com/logs/TransLog.log
AgentLog /www/mail.halkey-roberts.com/logs/BrowserLog.log
RefererIgnore 10.0.0.0/8
</VirtualHost>