Hi ! I hope not to be troubling you too much with this message, To keep it short, I need help configuring my Apache Sever using passenger.
So far I've been attempting to do this locally, after installing the required gems I followed the steps listed on the tutorial at the end of the plugin installation, but I've Not been successful on the matter.
Basically what I want to do is to run a rails application I have on my machine at home, so my httpd.conf file looks like this:
LoadModule passenger_module /home/jose/.rvm/gems/ruby-1.9.2-p136/gems/passenger-3.0.6/ext/apache2/mod_passenger.so
PassengerRoot /home/jose/.rvm/gems/ruby-1.9.2-p136/gems/passenger-3.0.6
PassengerRuby /home/jose/.rvm/wrappers/ruby-1.9.2-p136/ruby
<VirtualHost *:80>
ServerName localhost
DocumentRoot /hamldemo/public
<Directory /somewhere/public>
AllowOverride all
Options -MultiViews
</Directory>
</VirtualHost>
I figured it'd be right to use the parameter localhost to ServerName, since I intend to run it locally, but when I restart Apache, I get the following error(s):
Warning: DocumentRoot [/hamldemo/public] does not exist
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
... waiting Warning: DocumentRoot [/hamldemo/public] does not exist
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
It says my RoR app does not exist, and somehow switched the name the server name ip from 127.0.0.1 to 127.0.1.1.
Can you help me out? I basically want to learn how to deploy to Apache on my computer at home, and maybe you've already gone through all this.
Thank you, and sorry If this happens to trouble you, I've not found proper help on the internet,
Best Regards,
J