Created
July 13, 2012 20:35
-
-
Save geronimod/3107288 to your computer and use it in GitHub Desktop.
virtual host with passenger
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
### apache.conf | |
Listen *:80 | |
NameVirtualHosts *:80 | |
.... | |
LoadModule passenger_module /somewhere/passenger-x.x.x/ext/apache2/mod_passenger.so | |
PassengerRuby /usr/bin/ruby | |
PassengerRoot /somewhere/passenger/x.x.x | |
... | |
### | |
### foo.conf | |
<VirtualHost *:80> | |
ServerName www.foo.com | |
DocumentRoot /home/foouser/public_html | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment