ROR App for Apache on Linux


Configuring Ruby Rails for Apache on SUSE Linux Enterprise Server:

http://developer.novell.com/wiki/index.php/Configuring_Ruby_Rails_for_Apache_on_SUSE_Linux_Enterprise_Server

 

时间管理程序tracks安装:

http://www.i170.com/user/wlj/Article_33774

 

Puppet Dashboard:

http://www.how2centos.com/installing-puppet-dashboard-on-centos-5-5/

 

Rails+Apache2+fcgid安装:

http://www.36sign.com/blog/working/how-to-deploy-rails-with-apache-and-cgi.html

 

SLES 11的Ruby开发框架Rails配置:

http://blog.opentiss.net/2009/07/sles-11rubyrails.html

 

http://d.hatena.ne.jp/conceal-rs/20080730/1217422869

 

Ubuntu

https://help.ubuntu.com/community/RubyOnRails

 

 


Apache dispatch.fcgi doesn’t get interpreted with Passenger

installed passenger as ruby gem. add following to /etc/apache2/apache2.conf

LoadModule passenger_module /var/lib/gems/1.8/gems/passenger-2.2.4/ext/apache2/mod_passenger.so PassengerRuby /usr/bin/ruby PassengerRoot /var/lib/gems/1.8/gems/passenger-2.2.4







and set Vitual Host to rails app ~/public directory, but when I visit the site, I only see content of dispatch.fcgi , but nothing gets executed

.htaccess in ~/public directory is


AddHandler fcgid-script .fcgi AddHandler cgi-script .cgi Options +FollowSymLinks +ExecCGI RewriteEngine On RewriteRule ^$ index.html [QSA] RewriteRule ^([^.]+)$ $1.html [QSA] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] 









However, if I run script/server, everything works fine, so there is no problem with the application itself.


你可能感兴趣的:(apache,linux,ubuntu,Ruby,Rails)