ispCP - Board - Support
Ruby on Rails and ispCP - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Ruby on Rails and ispCP (/thread-10876.html)



Ruby on Rails and ispCP - Cojones - 06-03-2010 09:48 PM

Hello,

I just installed ispCP and everything went fine but now I'm having problems getting Rails work.

I did follow that post: http://isp-control.net/forum/thread-4006.html

But that didn't lead to success. What I get is the dispatch.fcgi as clear text so apparently the handler isn't configured or something which I don't understand since I added:
AddHandler fastcgi-script .fcgi
AddHandler cgi-script .cgi
Options +FollowSymLinks +ExecCGI
to the .htaccess in the public folder.

Does anyone know what else to do to get this working?

What I find quite confusing is that in the ispcp.conf fcgi is being handled already by php5:
<IfModule mod_fcgid.c>
Include /etc/apache2/mods-available/fcgid_ispcp.conf
<Directory /var/www/virtual/sportfreundewitold.de/htdocs>
FCGIWrapper /var/www/fcgi/sportfreundewitold.de/php5-fcgi-starter .php
Options +ExecCGI
</Directory>
<Directory "/var/www/fcgi/sportfreundewitold.de">
AllowOverride None
Options +ExecCGI MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>

Might be the problem that the dispatch.fcgi is being handled by PHP or something?

Any hints appreciated!