resource paths when using a forward proxy?

I have a Rails 3 app running under Passenger on one machine, and on another, which is our public-facing Apache web server, I’ve setup a forward proxy to point to the server where the Rails app is running. It works, but the path to the javascripts and stylesheets directories are not properly completed.

I’ve spent most of the day researching the right thing to do here, but haven’t found any tips that worked.

Does anyone know the right way to get the paths to be complete? I’m not sure if the public-facing forward proxy needs more info or if there’s something to configure in the rails app.

To be perhaps more informative, this works in all respects:

http://10.1.10.210/recordingtasks/tasks/ <-- takes you to the default list of recording tasks, all css, javascripts, etc., work fine

This works, but no css, etc.

http://www.ourdomain.org/forward-proxy/recordingtasks/tasks

The browser console reports 404 errors for

Failed to load resource: http://www.ourdomain.org/recordingtasks/stylesheets/application.css?1343083515 the server responded with a status of 404 (Not Found)

And so on.