mod_passenger.conf 1017 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #
  2. # mod_passenger
  3. #
  4. LoadModule passenger_module @baselibdir@/httpd/modules/mod_passenger.so
  5. <IfModule mod_passenger.c>
  6. PassengerRoot @passengerdir@
  7. PassengerDefaultRuby /usr/bin/ruby
  8. </IfModule>
  9. #
  10. # Deploying a web application: an example
  11. #
  12. # Suppose you have a web application in /somewhere. Add a virtual host to your
  13. # Apache configuration file and set its DocumentRoot to /somewhere/public:
  14. #
  15. #<VirtualHost *:80>
  16. # ServerName www.yourhost.com
  17. # # !!! Be sure to point DocumentRoot to 'public'!
  18. # DocumentRoot /somewhere/public
  19. # <Directory /somewhere/public>
  20. # # This relaxes Apache security settings.
  21. # AllowOverride all
  22. # # MultiViews must be turned off.
  23. # Options -MultiViews
  24. #
  25. # Require all granted
  26. # </Directory>
  27. #</VirtualHost>
  28. #
  29. # And that's it! You may also want to check the Users Guide for security and
  30. # optimization tips, troubleshooting and other useful information:
  31. #
  32. # https://www.phusionpassenger.com/documentation/Users%20guide%20Apache.html
  33. #