You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Steve Mallett <st...@gmail.com> on 2013/05/08 16:52:06 UTC

[users@httpd] reverse_proxy related: howto rewrite code passing through

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: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] reverse_proxy related: howto rewrite code passing through

Posted by Paul Beckett <pa...@outlook.com>.
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: DRuggeri@primary.net
> To: users@httpd.apache.org
> 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: users-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
> 
> mod_susbstitute used on the frontend apache server would be a potential
> option here. Have you tried that?
> 
> --
> Daniel Ruggeri
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
 		 	   		  

Re: [users@httpd] reverse_proxy related: howto rewrite code passing through

Posted by Daniel Ruggeri <DR...@primary.net>.
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: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>

mod_susbstitute used on the frontend apache server would be a potential
option here. Have you tried that?

--
Daniel Ruggeri


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org