astralnebula/blog/master/.htaccess - Htaccess File

astralnebula/blog/master/.htaccess

RewriteEngine on

#Any HTTP request other than those for index.php, assets folder, files folder and robots.txt
#is treated as a request for your index.php file.

#RewriteCond $1 !^(index.php|assets|files|robots.txt)
#RewriteRule ^(.*)$ index.php/$1 [L]
RewriteCond $1 !^(index.php|assets|robots.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L,QSA]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache