[Nitro] Nitro Apache2 CGI/FCGI (again)

Kashia Buch kashia at vfemail.net
Thu Dec 29 13:58:05 EST 2005


Hi,

trying to get nitro to run on apache. (lets hope I can successfully reply  
to myself again in a few minutes ;))

error:

DEBUG -- : Using memory sessions.
[error] [client 127.0.0.1] malformed header from script. Bad header=nil:  
fcgi.rb
INFO -- : Og uses the Psql store.

and a error 500 to the browser ("Nitro failed to start properly")

setup is following:

httpd.conf
-------------------
<VirtualHost *:80>
   ServerName nitro
   DocumentRoot /path/to/app/public/
   ErrorLog /path/to/app/log/apache.log
   ErrorDocument 500 "<h2>Application error</h2>Nitro failed to start  
properly"

   Options +FollowSymLinks +ExecCGI

   <Directory /pat/to/app/public/>
     Options ExecCGI FollowSymLinks
     AllowOverride all
     Allow from all
     Order allow,deny
   </Directory>
</VirtualHost>

and in /path/to/app/public/.htaccess
-------------------
RewriteEngine On
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ cgi.rb [QSA,L]


well, I seem to be missing something important, is that .htaccess approach  
even possible?

Kash
-- 
Feel the love
http://pinkjuice.com/pics/ruby.png



More information about the Nitro-general mailing list