ncr / rack-proxy

A request/response rewriting HTTP proxy. A Rack app.
MIT License
269 stars 94 forks source link

rails integration question #7

Closed teaforthecat closed 12 years ago

teaforthecat commented 12 years ago

How would you use this within Rails as a Rack app? I'd like to do something like this within the routes file:

match '/other_site' => RackProxySubclass

ncr commented 12 years ago

See README for an example, it does exactly what you want to achieve.