--- /dev/null
+<IfModule mod_rewrite.c>\r
+ RewriteEngine On\r
+ # RewriteBase /\r
+\r
+ # Allow any files or directories that exist to be displayed directly\r
+ RewriteCond %{REQUEST_FILENAME} !-f\r
+ RewriteCond %{REQUEST_FILENAME} !-d\r
+\r
+ # Rewrite all other URLs to index.php/URL\r
+ RewriteRule ^(.*)$ index.php?/$1 [L,QSA]\r
+</IfModule>\r
+\r
+<IfModule !mod_rewrite.c> \r
+ ErrorDocument 404 index.php\r
+</IfModule>\r