mayusuf/codeigniter3/master/.htaccess - Htaccess File

mayusuf/codeigniter3/master/.htaccess

RewriteEngine On
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /index.php/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]

#<IfModule mod_headers.c>
#  <FilesMatch ".(js|css|xml|gz)$">
#    Header append Vary Accept-Encoding
#  </FilesMatch>
#</IfModule>

#<IfModule mod_expires.c>
#  ExpiresActive On
#  ExpiresByType image/png A604800
#  ExpiresByType image/gif A604800
#  ExpiresByType image/jpg A604800
#  ExpiresByType image/jpeg A604800
#  ExpiresByType text/javascript A604800
#  ExpiresByType application/x-javascript A604800
#  ExpiresByType text/css A604800
#</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, REQUEST_URI

Comments

Apache