daemonraco/toobasic/master/.htaccess - Htaccess File

daemonraco/toobasic/master/.htaccess

<FilesMatch "(config/.*.(json|php)|.*.md)$">
    Order Allow,Deny
    Deny from all
</FilesMatch>

Options -Indexes

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l

RewriteRule ^(.+)$ index.php?route=$1 [QSA,L]
RewriteRule ^index.php/(.+)$ index.php?route=$1 [QSA,L]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache