Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 17 lines (12 sloc) 0.499 kb
f21b5414 »
2008-10-16 Default Merb app.
1 # Sets the default handler for FastCGI scripts
2 AddHandler fastcgi-script .fcgi
3
4 # If Apache2 is used together with mod_fcgid,
5 # uncomment the line below and comment in the line
6 # above to set the correct script handler
7 #AddHandler fcgid-script .fcgi
8
9 RewriteEngine On
10
11 RewriteRule ^$ index.html [QSA]
12 RewriteRule ^([^.]+)$ $1.html [QSA]
13 RewriteCond %{REQUEST_FILENAME} !-f
14 RewriteRule ^(.*)$ merb.fcgi [QSA,L]
15
16
17 ErrorDocument 500 "<h2>Application Error</h2>Merb could not be reached
Something went wrong with that request. Please try again.