开发者

How can I retrieve the lines Passenger gave me?

开发者 https://www.devze.com 2022-12-09 09:11 出处:网络
this question is certai开发者_C百科nly newbie-generated. When I installed Apache and Passenger to work I received 3 lines of code to add to the apache2.conf file on etc/apache2 path, but because of an

this question is certai开发者_C百科nly newbie-generated. When I installed Apache and Passenger to work I received 3 lines of code to add to the apache2.conf file on etc/apache2 path, but because of an authorization reason I couldn't add those lines to the file. I want to know, how can I retrieve these lines?

P.S. Passenger Gem Version is 2.2.5


If you run the installation again then it won't do any harm.

It's probably something like this:

LoadModule passenger_module /Library/Ruby/Gems/1.8/gems/passenger-2.2.5/ext/apache2/mod_passenger.so
PassengerRoot /Library/Ruby/Gems/1.8/gems/passenger-2.2.5
PassengerRuby /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
  • PassengerRoot directive
  • PassengerRuby directive

—Note that the PassengerRuby directive in my example above is for Mac OS X.


Thank you all! I've just uninstalled and reinstalled the Passenger Gem and retyped passenger-install-apache2-module and got the lines I've missed =)

For the ones whose PCs are also Ubuntu and had this same trouble, there are the lines:

LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/ext/apache2/mod_passenger.so PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5 PassengerRuby /usr/bin/ruby1.8

Considering I'm with Ubuntu Jaunty Jackalope, Apache2 and Passenger Gem version 2.2.5 =)

Salutes!

0

精彩评论

暂无评论...
验证码 换一张
取 消