Skip to content

Instantly share code, notes, and snippets.

@edavis10
Created February 27, 2009 23:47
Show Gist options
  • Save edavis10/71784 to your computer and use it in GitHub Desktop.
Save edavis10/71784 to your computer and use it in GitHub Desktop.
Apache2 / Passenger configuration for integrity
LoadModule passenger_module /usr/local/lib/ruby/gems/1.8/gems/passenger-2.0.6/ext/apache2/mod_passenger.so
PassengerRoot /usr/local/lib/ruby/gems/1.8/gems/passenger-2.0.6
PassengerRuby /usr/local/bin/ruby
NameVirtualHost *
<VirtualHost *>
ServerAdmin webmaster@localhost
DocumentRoot /home/edavis/integrity/public
<Directory /home/edavis/integrity/public">
AllowOverride None
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
ServerSignature Off
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment