View Single Post
Old 15th April 2006, 11:52
till till is online now
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,994
Thanks: 840
Thanked 5,647 Times in 4,457 Posts

Originally Posted by Geoinline
After following countless rails tutorials and trying different things to get it working with ISPConfig i get this error when reloading apache2.

grep: /etc/apache2/fcgid.conf: No such file or directory
grep: /etc/apache2/fcgid.load: No such file or directory
grep: /etc/apache2/rewrite.load: No such file or directory
/etc/init.d/apache2: line 103: kill: (14415) - Operation not permitted

Does this give you any ideas as to what needs to be configured?

Could this be caused by me adding
AddHandler fcgid-script .fcgi
to my Apache Directives (Optional): in ISPConfig?
Yes. I guess the fastcgi daemon (fcgid) configuration is missing.

One problem I've come across that would be beneficial to know is that the public directory of a rails app has it's own .htaccess file. This caused this error in web##/log/errors.log
/var/www/web##/web/testapp/public/.htaccess: Options not allowed here
after deleting this file I could then load .html files through my symlink

I've managed to setup a symlink in my web##/web dir to the web##/cgi-bin/testapp/public dir which allows me to load .html docs through the symlink however when I add

RewriteEngine On
To Apache Directives (Optional):

I can no longer load .html docs through the symlink. If RewriteEngine is required by rails and it appears putting it in the Directives doesn't work..
Where should I enable RewriteEngine?
Put the content from your .htaccess file in the apache directives field of the website and remove the .htaccess file.

Also how would I configur my app to access mysql if the app's datebase file looks like this

I log into phpmyadmin with:
Username: web17_db1
If this databadase was created with ISPConfig, the username is not web17_db1, it is web17_u1. web17_db1 is the name of the database.

I'am not familar with rails. But generally the database details are:

host: localhost
user: web17_u1
password: Your database password
database: web17_db1
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from
Reply With Quote