freebsd info

Download Freebsd Info

If you can't read please download the document

Upload: ismim-fismim

Post on 12-Feb-2016

12 views

Category:

Documents


3 download

DESCRIPTION

Freebsd Info

TRANSCRIPT

LoadModule passenger_module /usr/local/lib/ruby/gems/2.0/gems/passenger-5.0.14/buildout/apache2/mod_passenger.soPassengerRoot /usr/local/lib/ruby/gems/2.0/gems/passenger-5.0.14PassengerRuby /usr/local/bin/ruby20LoadModule passenger_module /usr/local/rvm/gems/ruby-2.2.0/gems/passenger-5.0.14/buildout/apache2/mod_passenger.so PassengerRoot /usr/local/rvm/gems/ruby-2.2.0/gems/passenger-5.0.14 PassengerDefaultRuby /usr/local/rvm/gems/ruby-2.2.0/wrappers/ruby qwwwwwwww--- LoadModule passenger_module /usr/local/rvm/gems/ruby-2.2.0/gems/passenger-5.0.14/buildout/apache2/mod_passenger.so PassengerRoot /usr/local/rvm/gems/ruby-2.2.0/gems/passenger-5.0.14 PassengerDefaultRuby /usr/local/rvm/gems/ruby-2.2.0/wrappers/ruby * Checking whether this Passenger install is in PATH... * Checking whether there are no other Passenger installations... (!) You are currently validating against Phusion Passenger 5.0.14, located in: /usr/local/rvm/gems/ruby-2.2.0/gems/passenger-5.0.14/bin/passenger Besides this Passenger installation, the following other Passenger installations have also been detected: /usr/local/bin/passenger Please uninstall these other Passenger installations to avoid confusion or conflicts. * Checking whether Apache is installed... * Checking whether the Passenger module is correctly configured in Apache... Incorrect Passenger module path detected Phusion Passenger for Apache requires a 'LoadModule passenger_module' directive inside an Apache configuration file. This directive has been detected in the following config file: /usr/local/etc/apache24/httpd.conf However, the directive refers to the following Apache module, which is wrong: /usr/local/lib/ruby/gems/2.1/gems/passenger-5.0.14/buildout/apache2/mod_passenger.so Please edit the config file and change the directive to this instead: LoadModule passenger_module /usr/local/rvm/gems/ruby-2.2.0/gems/passenger-5.0.14/buildout/apache2/mod_passenger.soDetected 1 error(s), 1 warning(s).Please solve the above issues, then press ENTER to continue.--------------------------------------------Deploying a web application: an exampleSuppose you have a web application in /somewhere. Add a virtual host to yourApache configuration file and set its DocumentRoot to /somewhere/public: ServerName www.yourhost.com # !!! Be sure to point DocumentRoot to 'public'! DocumentRoot /somewhere/public # This relaxes Apache security settings. AllowOverride all # MultiViews must be turned off. Options -MultiViews # Uncomment this if you're on Apache >= 2.4: #Require all granted And that's it! You may also want to check the Users Guide for security andoptimization tips, troubleshooting and other useful information: /usr/local/rvm/gems/ruby-2.2.0/gems/passenger-5.0.14/doc/Users guide Apache.html https://www.phusionpassenger.com/documentation/Users%20guide%20Apache.htmlEnjoy Phusion Passenger, a product of Phusion (www.phusion.nl) :-)https://www.phusionpassenger.comPhusion Passenger is a trademark of Hongli Lai & Ninh Bui.