How to 301 redirect with passenger(mode_rails)?

I've rebuild my site and many url has changed. I want to redirect 301 these url. However, I don't know how to do it with passenger.

Any advice?

Do you have access to the apache config file, or can you use .htaccess files?

This isn't much of a Passenger issue as it's an Apache issue (assuming you are using Apache). Look at mod_rewrite: