ruby on rails - installing passenger on Apache2 using rvm -


i've installed apache2 , runs okay.

and i've installed rvm following this link.

after that, i've execute follow commands order. of these commands this link installing redmine.

rvm install 1.8.7 rvm use 1.8.7 gem install rails -v=2.3.5 gem install postgres-pr pq gem install i18n -v=0.4.2  gem install passenger passenger-install-apache2-module 

and append apache2.conf

loadmodule passenger_module /home/myhome/.rvm/gems/ruby-1.8.7-p330/gems/passenger-3.0.2/ext/apache2/mod_passenger.so passengerroot /home/myhome/.rvm/gems/ruby-1.8.7-p330/gems/passenger-3.0.2 passengerruby /home/myhome/.rvm/wrappers/ruby-1.8.7-p330/ruby 

this log apache after restart

[notice] apache/2.2.16 (ubuntu) php/5.3.3-1ubuntu9.3 suhosin-patch phusion_passenger/3.0.2 configured -- resuming normal operations 

but!!!, if open redmine root page, shows file list in public directory. think passenger may not work correctly.

why? , how fix this? i've tried can 2 days t-t

have added section apache config? tells apache using rails application:

<virtualhost :*80>   servername myapp   documentroot /root-to-your-path/public </virtualhost> 

and restarted apache? read more here: http://www.modrails.com/documentation/users%20guide%20apache.html#_deploying_a_ruby_on_rails_application


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -