kidaa/quantum/master/.htaccess - Htaccess File

kidaa/quantum/master/.htaccess

Options -Indexes
DirectoryIndex index.php
RewriteEngine On

<FilesMatch ".(tpl|ini|log)">
    Order deny,allow
    Deny from all
</FilesMatch>

RewriteBase /

#RewriteCond %{HTTP_HOST} ^www.(.*)$ [NC]
#RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
#Options +SymLinksIfOwnerMatch
#RewriteCond %{THE_REQUEST} ^[A-Z]{3,9} /index.php HTTP/
#RewriteRule ^index.php$ /$1 [R=301,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^(.*)$ /index.php

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, REQUEST_FILENAME, REQUEST_URI, THE_REQUEST

Comments

Apache