[Nitro] Apache2

Guillaume Pierronnet guillaume.pierronnet at laposte.net
Mon Sep 5 19:33:08 EDT 2005

if you define the configuration inside your apache2.conf instead of
.htaccess file, in you have to use something like this:

<VirtualHost *:80>
  ServerName nitro
  DocumentRoot /somewhere/on/disk/public/
  Options +FollowSymLinks +ExecCGI

  RewriteEngine On
  RewriteRule ^$ index.html [QSA]
  RewriteRule ^([^.]+)$ $1.html [QSA]
  RewriteRule ^(.*)$ /fcgi.rb [QSA,L]

  ErrorDocument 500 "<h2>Application error</h2>Nitro failed to start

> Anyone have a working Apache2 Virtual Host configuration working with
> Nitro works under Webrick, but under Apahce2 I'm getting 400 Bad Request
> Thanks,
> T.
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general

More information about the Nitro-general mailing list