If you want your rails app in the same apache html directory and use port 80 instead of 12001, use a .htaccess like this :
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule (.*) http://www.your-domain.com:12001/$1 [P]
Email any time or call 01480 26 00 00 014 80 26 00 00