Created
May 18, 2015 15:59
-
-
Save mrtnpro/85e2673a77c1836aa9c5 to your computer and use it in GitHub Desktop.
VirtualHostX Custom Directives config for Rails apps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteEngine On | |
RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f | |
RewriteRule ^/(.*)$ http://localhost:3000/%{REQUEST_URI} [P,QSA] | |
<Proxy *> | |
Allow from all | |
</Proxy> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment