Sha256: 4838e6154b2f8c6e9d2f842a18b7d90ba38f5e9a274e821c1664dcabb3f889ce

Contents?: true

Size: 1.5 KB

Versions: 4

Compression:

Stored size: 1.5 KB

Contents

# Apache configuration file.
# Change as appropriate for your apache configuration.
# $Id$

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 ^(.*)$ /fcgi.rb [QSA,L]
RewriteLog log/rewrite_log
RewriteLogLevel 3

# 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

4 entries across 4 versions & 1 rubygems

Version Path
nitro-0.14.0 examples/blog/conf/apache.conf.new
nitro-0.15.0 examples/blog/conf/apache.conf.new
nitro-0.16.0 examples/blog/conf/apache.conf.new
nitro-0.17.0 examples/blog/conf/apache.conf.new