acidrainz/generator-nwfbapp/master/app/templates/code-igniter/.htaccess - Htaccess File

acidrainz/generator-nwfbapp/master/app/templates/code-igniter/.htaccess

RewriteEngine On
SetEnv TZ Asia/Taipei
# If the user types just "admin".
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^admin$ admin.php [L,QSA]
# If the user enter in any admin section, like "admin/section".
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^admin/(.*)$ admin.php/$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !index.php
RewriteRule ^(.*)$ index.php/$1 [L]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, TZ

Comments

Apache