I am trying to remove index.php of my codeigitor application which is hosted on EC2 instance of ubuntu OS. But unable to get the solution.
Below is my htaccess file added to the root of my application
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt|css|js|font|woff|ttf|svg|eot|favicon\.ico)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
Thanks