madeofpeople/latticeFolio/master/.htaccess - Htaccess File

madeofpeople/latticeFolio/master/.htaccess

# Turn on URL rewriting
Options +FollowSymLinks
RewriteEngine On

# Installation directory
# RewriteBase /

# Protect hidden files from being viewed
#<Files .*>
# Order Deny,Allow
# Deny From All
#</Files>

RewriteRule ^application/media/* - [PT,L]
RewriteRule ^application/views/fonts/* - [PT,L]

# Allow css and js to be displayed directly
RewriteRule ^(.*)css$ - [PT,L]
RewriteRule ^(.*)js$ - [PT,L]
RewriteRule ^(.*)jpg$ - [PT,L]
RewriteRule ^(.*)gif$ - [PT,L]
RewriteRule ^(.*)png$ - [PT,L]
RewriteRule ^(.*)swf$ - [PT,L]
RewriteRule ^(.*)flv$ - [PT,L]
RewriteRule ^(.*)f4v$ - [PT,L]
RewriteRule ^(.*)pdf$ - [PT,L]
RewriteRule ^(.*)zip$ - [PT,L]

RewriteRule ^(crossdomain.xml|index.php|application/resources/fonts|media|woff|svg|eot|ttf|robots.txt|favicon.ico) - [PT,L]

# Protect application and system files from being viewed
RewriteRule ^(?:application|modules|system)b.* index.php/$0 [L]

# Rewrite all other URLs to index.php/URL
RewriteRule ^(.*)$ index.php/$1 [PT]

On Github License

Files

Download PDF of Htaccess file

Comments

Apache