Fast2Host Logo

How to

Ruby On Rails With Apache and mod_proxy using .htaccess

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]


Maintain peace of mind with UK based support

Email any time or call 01480 26 00 00 014 80 26 00 00