exponentcms/exponent-cms-1/master/.htaccess - Htaccess File

exponentcms/exponent-cms-1/master/.htaccess

Options -Indexes
DirectoryIndex index.php
<IfModule mod_rewrite.c>
RewriteEngine On 
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
#Kludge out certain file types that we don't want to try to route thru the eXp router.
RewriteCond $1 !^(.*.css|.*.js|.*.png|.*.pdf|.*favicon.ico|robots.txt|.*.shtml) [NC]
#Kludge out image files that we don't want to try to route thru the eXp router.
RewriteCond $1 !^(.*.jpg|.*.gif|.*.png|.*.jpeg|.*.tiff|.*.bmp) [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache