Phusion Passenger problem with JS {:onchange => 'this.form.submit()'}

Hi:

I have a Rails 2 app "2.3.5" that I added a search capability using
the abover JS on a dropdown list. It work fine on my local machine,
but when I deploy to our Centos server and change the dropdown value,
it forgets about the relative Phusion path that the app is on and
consequently gives a 404 error.

So, it's going here (not a real url): http://server/summ_date?filter_month=January&filter_year=2011

and it should be going here: http://server/er/summ_date?filter_month=January&filter_year=2011

The "er" branch is being left off. Any input would be appreciated.

Thanks,

Gary.