ekowabaka/kakalika/master/.htaccess
# Protect certain directories
<FilesMatch .(uploads|config|ini|.*sql|tpl(.php)?)$>
Order allow,deny
deny from all
</FilesMatch>
RedirectMatch 404 .(ini|.*sql|tpl(.php)?$)
# Don't show directories.
Options -Indexes
# Follow symbolic links
Options +FollowSymLinks
# Set the default handler.
DirectoryIndex index.php
# Various rewrite rules.
<IfModule mod_rewrite.c>
RewriteEngine on
# Set the rewrite base
# RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^ index.php [L]
</IfModule>
On Github License
Files