nmeylan/RORganize/master/public/.htaccess - Htaccess File

nmeylan/RORganize/master/public/.htaccess

<IfModule mod_fastcgi.c>
AddHandler fastcgi-script .fcgi
</IfModule>
<IfModule mod_fcgid.c>
AddHandler fcgid-script .fcgi
</IfModule>
AddHandler cgi-script .cgi

Options +FollowSymLinks +ExecCGI

RewriteEngine On

RewriteRule ^(stylesheets/.*)$ - [L]
RewriteRule ^(javascripts/.*)$ - [L]
RewriteRule ^(images/.*)$ - [L]

RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f

RewriteRule ^(.*)$ dispatch.fcgi [E=X-HTTP_AUTHORIZATION:%{HTTP:Authorization},QSA,L]

ErrorDocument 500 "<h2>Application error</h2>Rails application failed to start properly"

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache