Daniel,In Apache 2.4 a previously third-party module mod_proxy_http (
http://httpd.apache.org/docs/2.4/mod/mod_proxy_html.html ) was included. The
original module: http://apache.webthing.com/mod_proxy_html/ presumably works
with Apache 2.2. This module seems to be focused on modifying URL's. I've never
personally used it, so don't know if it could also be used to manipulate the js
script in the way you want.Cheers,Paul
> Date: Wed, 8 May 2013 19:14:05 -0500
> From: [email protected]
> To: [email protected]
> Subject: Re: [users@httpd] reverse_proxy related: howto rewrite code passing
> through
>
> On 5/8/2013 9:52 AM, Steve Mallett wrote:
> > Hi,
> >
> > I am running apache as a reverse proxy (Server version: Apache/2.2.22
> > (Ubuntu)) in front of separate webserver (apache) which I do not have
> > access to & cannot get code changed on fast enough.
> >
> > I'd like to know if there is a way to rewrite the code showing through
> > the reverse proxy?
> >
> > Specifically, I'd like to be able to remove some js scripts, but not
> > all of them.
> >
> > Thanks.
> >
> > Steve
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
>
> mod_susbstitute used on the frontend apache server would be a potential
> option here. Have you tried that?
>
> --
> Daniel Ruggeri
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>