Trouble with Reverse Proxy and Back End Scripts

Trouble with Reverse Proxy and Back End Scripts

am 12.09.2002 14:30:31 von ecorreale

This is a multi-part message in MIME format.

------_=_NextPart_001_01C25A58.2F43F30F
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

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.
=20
Is this a problem with Apache or do I have a configuration problem?
=20
I'm using Apache 1.3.23-14 on RedHat 7.3
The relevant portion of my httpd.conf file is below. .
=20
Any help would be greatly appreciated.
=20
Thanks,
Ernie
=20
=20
=20
=20

DocumentRoot /www/mail.halkey-roberts.com/html
ServerName mail.halkey-roberts.com
=20
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/
=20
ProxyPass /exchange/ http://mail.halkey-roberts.com/exchange/
ProxyPassReverse /exchange/ http://mail.halkey-roberts.com/exchange/
=20
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
=20



------_=_NextPart_001_01C25A58.2F43F30F
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable


Message
charset=3Dus-ascii">


I am =
trying to=20
hide my MS Exchange web-mail server (IIS) behind an Apache web=20
server by using Apache as a reverse proxy.  The proxy =
functions as far=20
as passing data from the IIS server to the Internet client but in doing =
so, it=20
breaks the Java and VB scripts used in the web pages being reverse=20
proxied.  Script source code appears where the java script is =
located on=20
the page.  I have spent a good deal of time attempting to resolve =
this on=20
my own but have not been able to do so.

class=3D109165422-10092002> 

Is =
this a problem=20
with Apache or do I have a configuration problem?

class=3D109165422-10092002> 

I'm =
using Apache=20
1.3.23-14 on RedHat 7.3

The =
relevant portion=20
of my httpd.conf file is below. .

class=3D109165422-10092002> 

Any =
help would be=20
greatly appreciated.

class=3D109165422-10092002> 

class=3D109165422-10092002>Thanks,

class=3D109165422-10092002>Ernie

class=3D109165422-10092002> 

class=3D109165422-10092002> 

 

 

class=3D109165422-10092002><VirtualHost=20
10.0.0.13:443>
  DocumentRoot=20
/www/mail.halkey-roberts.com/html
  ServerName=20
mail.halkey-roberts.com

 

  =
SSLEngine=20
on
    SSLCertificateFile=20
/etc/httpd/ssl/server.crt
    SSLCertificateKeyFile=20
/etc/httpd/ssl/server.key
    SetEnvIf User-Agent =
".MSIE.*"=20
nokeepalive ssl-unclean-shutdown

class=3D109165422-10092002> face=3DArial size=3D2> class=3D109165422-10092002>
   =20
ProxyPass / href=3D"http://mail.halkey-roberts.com/exchange/">http://mai l.halkey-robe=
rts.com/exchange/
   =20
ProxyPassReverse / href=3D"http://mail.halkey-roberts.com/exchange/">http://mai l.halkey-robe=
rts.com/exchange/

 

class=3D109165422-10092002>   =20
ProxyPass /exchange/ href=3D"http://mail.halkey-roberts.com/exchange/">http://mai l.halkey-robe=
rts.com/exchange/
   =20
ProxyPassReverse /exchange/ href=3D"http://mail.halkey-roberts.com/exchange/">http://mai l.halkey-robe=
rts.com/exchange/

class=3D109165422-10092002> 

  =
LOG=20
FILES
   ErrorLog=20
/www/mail.halkey-roberts.com/logs/ErrorLog.log
   =
TransferLog=20
/www/mail.halkey-roberts.com/logs/TransLog.log
   AgentLog=20
/www/mail.halkey-roberts.com/logs/BrowserLog.log
   =
RefererIgnore=20
10.0.0.0/8

 

class=3D109165422-10092002></VirtualHost>
BODY>
=00
------_=_NextPart_001_01C25A58.2F43F30F--

Re: Trouble with Reverse Proxy and Back End Scripts

am 13.09.2002 11:16:00 von Graham Leggett

Correale, Ernest wrote:

> 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 problem is most probably Apache - there have been a number of
important fixes in v1.3.26 from .23.

Unfortunately Redhat has done absolutely nothing about releasing a new
version of Apache despite being notified of these problems over three
months ago, and being subsequently chased up about this.

As a result of this, I would recommend you build from source, or install
a binary and see if that solves your problems.

Regards,
Graham
--
-----------------------------------------
minfrin@sharp.fm "There's a moon
over Bourbon Street
tonight..."

RE: Trouble with Reverse Proxy and Back End Scripts

am 13.09.2002 22:43:25 von Jason Yates

Umm, redhat did nothing???

http://rhn.redhat.com/errata/RHSA-2002-103.html

Redhat back-ported the patch for 1.3.22 so you wouldn't lose backwards
compatiblity.

-Jason Yates

> -----Original Message-----
> From: Graham Leggett [mailto:minfrin@sharp.fm]
> Sent: Friday, September 13, 2002 5:16 AM
> To: modproxy-dev@apache.org
> Subject: Re: Trouble with Reverse Proxy and Back End Scripts
>
>
> Correale, Ernest wrote:
>
> > 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 problem is most probably Apache - there have been a number of
> important fixes in v1.3.26 from .23.
>
> Unfortunately Redhat has done absolutely nothing about releasing a new
> version of Apache despite being notified of these problems over three
> months ago, and being subsequently chased up about this.
>
> As a result of this, I would recommend you build from source, or install
> a binary and see if that solves your problems.
>
> Regards,
> Graham
> --
> -----------------------------------------
> minfrin@sharp.fm "There's a moon
> over Bourbon Street
> tonight..."
>
>

Re: Trouble with Reverse Proxy and Back End Scripts

am 15.09.2002 23:59:49 von Graham Leggett

Jason Yates wrote:

> Umm, redhat did nothing???
>
> http://rhn.redhat.com/errata/RHSA-2002-103.html

Yep, unfortunately RH has done nothing to date :(

The URL you link to above has nothing to do with the problem being
discussed.

Regards,
Graham
--
-----------------------------------------
minfrin@sharp.fm "There's a moon
over Bourbon Street
tonight..."