Skip to content

Instantly share code, notes, and snippets.

@hoshinaoshi
Created January 21, 2014 16:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hoshinaoshi/8542943 to your computer and use it in GitHub Desktop.
Save hoshinaoshi/8542943 to your computer and use it in GitHub Desktop.
Apache バーチャルホストの設定
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