Created
January 21, 2014 16:08
-
-
Save hoshinaoshi/8542943 to your computer and use it in GitHub Desktop.
Apache バーチャルホストの設定
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 *:80 | |
<VirtualHost *:80> | |
DocumentRoot "/www/example/app_nameA/public" | |
ServerName "site_A" | |
RailsMaxPoolSize 7 | |
RailsEnv production | |
ErrorLog logs/dummy-host.example.com-error_log | |
CustomLog logs/dummy-host.example.com-access_log common | |
</VirtualHost> | |
<VirtualHost *:80> | |
DocumentRoot "/www/example/app_nameB/public" | |
ServerName "site_B" | |
RailsMaxPoolSize 7 | |
RailsEnv production | |
ErrorLog logs/dummy-host.example.com-error_log | |
CustomLog logs/dummy-host.example.com-access_log common | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment