Sha256: 59ab9fcf3c93085ff7cdc3ecfda16921edf6e814c2298d32c35531b60b95acfb
Contents?: true
Size: 951 Bytes
Versions: 2
Compression:
Stored size: 951 Bytes
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/root # 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 distribution the -I is not needed. FastCgiConfig -initial-env 'RUBYOPT=-rubygems -I/home/gmosx/navel/nitro/lib' AddHandler fastcgi-script fcgi rb Options +FollowSymLinks +ExecCGI RewriteEngine On RewriteRule ^/([\/\-_a-zA-Z0-9]+)?$ /fcgi.rb [QSA,L] RewriteRule ^/([\/\-_a-zA-Z0-9]+)?\?([\-_a-zA-Z0-9=;&%]*)$ /fcgi.rb?$2 [QSA,L] # You can also point these error messages to a controller/action # ErrorDocument 500 /500.html
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nitro-0.11.0 | examples/blog/conf/apache.conf |
nitro-0.12.0 | examples/blog/conf/apache.conf |