patelprajay/Codeigniter/master/.htaccess - Htaccess File

patelprajay/Codeigniter/master/.htaccess

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /Codeigniter/demo/
    RewriteCond %{THE_REQUEST} ^GET.*index.php [NC]
    RewriteCond %{REQUEST_URI} !/system/.* [NC]
    RewriteRule (.*?)index.php/*(.*) /$1$2 [R=301,NE,L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
GET, REQUEST_FILENAME, REQUEST_URI, THE_REQUEST

Comments

Apache