Sha256: b3e552a1d6255072316bd77370b96e43763cd238dc319566da75c98919e3c445
Contents?: true
Size: 1.43 KB
Versions: 19
Compression:
Stored size: 1.43 KB
Contents
# Apache Configuration # Change as needed for your system. Listen 9999 PidFile /var/tmp/httpd.pid TypesConfig /etc/mime.types DocumentRoot /home/gmosx/navel/nitro/examples/blog/public # The error log. ErrorLog log/apache.error_log CustomLog log/access_log combined # Load dynamic modules. LoadModule fastcgi_module /usr/local/apache2/modules/mod_fastcgi.so # LoadModule rewrite_module /usr/local/apache2/modules/mod_rewrite.so FastCgiIpcDir /var/tmp/fcgi # gmosx: if you have installed the gems # distribution the -I is not needed. FastCgiConfig -initial-env 'RUBYOPT=-rubygems -I/home/gmosx/navel/nitro/lib -I/home/gmosx/navel/og/lib -I/home/gmosx/navel/glue/lib' AddHandler fastcgi-script fcgi rb AddHandler cgi-script cgi rb Options +FollowSymLinks +ExecCGI # Redirect all requests not available on the filesystem # to Nitro. By default the cgi dispatcher is used which # is very slow. For better performance replace the # dispatcher with the fastcgi one # # Example: # RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] RewriteEngine On RewriteRule ^$ index.html [QSA] RewriteRule ^([^.]+)$ $1.html [QSA] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ dispatch.cgi [QSA,L] # In case Nitro experiences terminal errors. # Instead of displaying this message you can supply a # file here which will be rendered instead. # # Example: # ErrorDocument 500 /500.html ErrorDocument 500 "<h2>Application error</h2>Nitro failed to start properly"
Version data entries
19 entries across 19 versions & 1 rubygems