carferpro/Codeigniter-Blog/master/.htaccess - Htaccess File

carferpro/Codeigniter-Blog/master/.htaccess

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /

# Removes index.php from ExpressionEngine URLs
RewriteCond %{THE_REQUEST} ^GET.*index.php [NC]
RewriteCond %{REQUEST_URI} !/system/.* [NC]
RewriteRule (.*?)index.php/*(.*) blog_codeigniter/$1$2 [R=301,NE,L]

# Directs all EE web requests through the site index file
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ blog_codeigniter/index.php/$1 [L]
ErrorDocument 404 blog_codeigniter/index.php/

</IfModule>

On Github License

Files

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

Comments

Apache