XMadMax/codeigniter-3-with-xhmvc/master/apps/base/www/.htaccess - Htaccess File

XMadMax/codeigniter-3-with-xhmvc/master/apps/base/www/.htaccess

<IfModule mod_rewrite.c>
  RewriteEngine On
  DirectoryIndex index.php index.html

  # Allow all files that not exists, be called by index.php
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond $1 !.php$
  RewriteCond $1 !^(index.php|robots.txt|favicon.ico)
  RewriteRule ^(.*)$ ./index.php?/$1 [QSA,L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache