Skip to content
Alejandro Cabrera edited this page May 13, 2016 · 6 revisions

This file is loaded by Apache after apache2.conf, which is the Ubuntu default server config file. The httpd.conf allows us to incorporate custom settings for the server. This file exists in /etc/apache2.

In particular, we use this load a custom Rails environment for the server (aka, RAILS_ENV, HEH_DB_PASSWORD, etc.)

ServerName [dev,stage,www].[domain].org
LoadModule passenger_module /home/heh/.rvm/gems/ruby-1.9.3-p327@HeH/gems/passenger-3.0.18/ext/apache2/mod_passenger.so
PassengerRoot /home/heh/.rvm/gems/ruby-1.9.3-p327@HeH/gems/passenger-3.0.18
PassengerRuby /home/heh/ruby_wrapper

This file is calls ruby_wrapper.

Clone this wiki locally