Created
October 12, 2008 19:26
-
-
Save adelcambre/16457 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| andy@hiro:...merb/merb-more% cat merb-gen/lib/generators/templates/application/common/dothtaccess sprint | |
| # Sets the default handler for FastCGI scripts | |
| AddHandler fastcgi-script .fcgi | |
| # If Apache2 is used together with mod_fcgid, | |
| # uncomment the line below and comment in the line | |
| # above to set the correct script handler | |
| #AddHandler fcgid-script .fcgi | |
| RewriteEngine On | |
| RewriteRule ^$ index.html [QSA] | |
| RewriteRule ^([^.]+)$ $1.html [QSA] | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteRule ^(.*)$ merb.fcgi [QSA,L] | |
| ErrorDocument 500 "<h2>Application Error</h2>Merb could not be reached |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment