views:

40

answers:

2

Hello people, this question is certainly 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

A: 
John Topley
Does someone know the correct version for Ubuntu?
rodrigo3n
Why don't you just re-run the installer?
John Topley
yeah.. but I remember.. I have the access denied to the file apache2.conf, I could open the file but not change it,but I'm the admin. Bcz of this that I didin't put these lines into the file =(
rodrigo3n
So you can view the file’s contents but not modify it? Where are you going to put the lines if you get them?!
John Topley
A: 

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!

rodrigo3n