liuguofeng719/moumentei/master/public/.htaccess
#*************************
# General Apache options
AddHandler fastcgi-script .fcgi
AddHandler cgi-script .cgi
#Options +FollowSymLinks +ExecCGI
#-----------------------------------
#*************************
SetEnv RAILS_ENV production
#-----------------------------------
#*************************
RewriteEngine On
#-----------------------------------
#*************************
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
#-----------------------------------
#*************************
ErrorDocument 500 "<h2>Sorry :(</h2><br />We will be back, soon, very soon."
On Github License
Files