Sha256: bbd6299d749b6c3abad481c5f945bf39f14e28be8cc6d62a30612911e1b2b667

Contents?: true

Size: 420 Bytes

Versions: 2

Compression:

Stored size: 420 Bytes

Contents

# General Apache options
AddHandler fastcgi-script .fcgi
AddHandler cgi-script .cgi
Options +FollowSymLinks +ExecCGI

# Redirect all requests not available on the filesystem to Rails
RewriteEngine On
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /dispatch.cgi?$1 [QSA,L]

# In case Rails experiences terminal errors
ErrorDocument 500 /500.html

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails-0.10.0 configs/apache.conf
rails-0.10.1 configs/apache.conf