Created
December 18, 2009 17:19
-
-
Save raldred/259625 to your computer and use it in GitHub Desktop.
apache config for passenger multiple vhosts using same source
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
NameVirtualHost 127.0.0.1:80 | |
NameVirtualHost 10.0.0.1:80 | |
<VirtualHost 127.0.0.1:80> | |
DocumentRoot /Users/robaldred/Sites/app/public | |
RewriteEngine On | |
ServerName app | |
RailsEnv development | |
</VirtualHost> | |
<VirtualHost 10.0.0.1:80> | |
DocumentRoot /Users/robaldred/Sites/app/public | |
RewriteEngine On | |
ServerName app-test | |
RailsEnv test | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment