I am totally new to Code igniter and dealing with form submissions through MVC archi. As, I searched and tried all soultions and code given on stack overflow itself to remove index.php from url but all of them didn't worked. I know something is missing and I am not able to recognize it as I am new to CI.
This is my .htaccess code below,
<IfModule authz_core_module>
Require all denied
</IfModule>
<IfModule !authz_core_module>
Deny from all
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
I have also set $config['index_page']=' '; and $config['uri_protocol']='REQUEST_URI'; in config.php file.
NOTE: My CI version is 3x
