Replace content of body reverse proxy

Hi,

I want to configure my nginx server to reverse
proxy a given website, and change the contents of the html to render
something else. For example, if my website is www.google-proxy.com, it
will show the user the google home page, but my perl module would change
the button “I’m feeling lucky” to “I’m NOT feeling lucky”.

So
basically, it’s an outputfilter. Apache has something similiar and I
would like to know if anything is available for nginx.

I found HttpSubsModule, however, i want to control the find / replace
implementation. For example, I want to change all words “dog” and make
it bold.

Thx in
advance.

David

I need this feature too.

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,161250,232257#msg-232257

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs