Skip to content

Instantly share code, notes, and snippets.

@justinhernandez
Created July 12, 2011 02:21
Show Gist options
  • Save justinhernandez/1077273 to your computer and use it in GitHub Desktop.
Save justinhernandez/1077273 to your computer and use it in GitHub Desktop.
simple codeigniter htaccess
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /m/index.php/$1 [L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment