Ruby On Rails With Apache and mod_proxy using .htaccess
If you want your rails app in the same apache html directory, use a .htaccess like this :
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule (.*) http://localhost:3000/$1 [P]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule (.*) http://localhost:3000/$1 [P]
No comments :
Post a Comment