Skip to content

Instantly share code, notes, and snippets.

@aaryadev
Created April 4, 2017 06:36
Show Gist options
  • Save aaryadev/57dad81e861a5f54a35c6a86fe1da4f7 to your computer and use it in GitHub Desktop.
Save aaryadev/57dad81e861a5f54a35c6a86fe1da4f7 to your computer and use it in GitHub Desktop.
Codeigniter htaccess
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [PT,L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment