earlamante/w3b-template/master/.htaccess - Htaccess File

earlamante/w3b-template/master/.htaccess

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>

# Options -Indexes is important to provide protection to the folders especially the views/ folder
Options -Indexes
ErrorDocument 403 /data/403.php

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache