Skip to content

Commit

Permalink
added htaccesS
Browse files Browse the repository at this point in the history
  • Loading branch information
nitindhar7 committed Jun 7, 2011
1 parent 498c475 commit 8355a04
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions public/.htaccess
@@ -0,0 +1,8 @@
# General Apache options
AddHandler fcgid-script .fcgi
RewriteEngine On
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)/!$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
ErrorDocument 500 "<h2>Application error</h2> Application failed to start properly"

0 comments on commit 8355a04

Please sign in to comment.