How to remove index.php from URL in CodeIgniter ec2 elastic Beanstalk
my configuration file
htaccess
<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
config.php
$config['base_url'] = 'http://XXXXXXXXX.elasticbeanstalk.com/';
$config['index_page'] = '';
$config['uri_protocol'] = 'REQUEST_URI';