Skip to content

Instantly share code, notes, and snippets.

@geronimod
Created July 13, 2012 20:35
Show Gist options
  • Save geronimod/3107288 to your computer and use it in GitHub Desktop.
Save geronimod/3107288 to your computer and use it in GitHub Desktop.
virtual host with passenger
### 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