Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

create an appropriate apache configuration file passenger.conf with appropriate settings.  Example contents of /etc/httpd/conf.d/passenger.conf 

Code Block
LoadModule passenger_module /home/avalon/.rvm/gems/ruby-1.9.3-p392/gems/passenger-3.0.19/ext/apache2/mod_passenger.so

...


<IfModule passenger_module>

...


   PassengerRoot /home/avalon/.rvm/gems/ruby-1.9.3-p392/gems/passenger-3.0.19

...


   PassengerRuby /home/avalon/.rvm/wrappers/ruby-1.9.3-p392/ruby

...


  PassengerMaxPoolSize 30

...


  PassengerPoolIdleTime 300

...


  PassengerMaxInstancesPerApp

...

 

  PassengerMinInstances 3

  PassengerSpawnMethod smart-lv2

 

</IfModule>

 

...

 0


  PassengerMinInstances 3
  PassengerSpawnMethod smart-lv2


</IfModule>

Apache security configuration

...