I'm taking a look, Sean. It looks very promising, but I do have a couple of questions. First, we weren't using Rewrite, but rather ProxyPass to set up the front-end server. That is, we have:
ProxyPass /neworders http://client.example.com ProxyPassReverse /neworders http://client.example.com but your app expects this approach: RewriteRule ^/neworders(.*) http://client.example.com/orders$1 [L,P,E=originalUri:%{REQUEST_URI}] RequestHeader append X_FORWARDED_URI %{originalUri}e In theory I ought to be able to add something like RequestHeader append X_FORWARDED_URI %{originalUri}e to the ProxyPass code above, but I haven't yet figured out how to stuff the server variable REQUEST_URI into the originalUri directive without using Rewrite (unfortunately it doesn't look like there's a way to reference REQUEST_URI directly in RequestHeader). Any idea how to do this? I'm trying it your way at the moment, but it's introduced two problems that I wasn't having before. First, my image links (e.g. http://my.domain.com/myapp/image_assets/0000/0001/_thumb.jpg) aren't resolving. Second, I'm getting a redirect loop on SSL requests that makes me think that the ssl_requirement plugin may not be entirely happy. I'll report back if I learn more, but I'd appreciate any suggestions you might have. Thanks, -Sven On Oct 2, 1:37 am, Sean Huber <[EMAIL PROTECTED]> wrote: > Check out this plugin:http://github.com/shuber/proxy > -- > Posted viahttp://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

