nailsapp/site-main/develop/.htaccess - Htaccess File

nailsapp/site-main/develop/.htaccess

# Options not set in httpd.conf
# ------------------------------------------------
Options +FollowSymlinks -Indexes

# GZip content for extra oomph. ../ >_< ../
# ------------------------------------------------
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript application/json

# Rewriting magic.
# ------------------------------------------------
RewriteEngine on

# CodeIgniter Rule
# Unless requesting a valid file send to index.php
# ------------------------------------------------
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]

On Github License

Files

Download PDF of Htaccess file
DEFLATE, REQUEST_FILENAME

Comments

Apache