Cordial Greeting. Recently I'm working with the Codeigniter framework and a small web app, I use CentOS 7 to mount the application.
The problem is that I use the CodeIgniter URL helper to remove the index.php from the URL
de
http://midominio.com/index.php/miControlador/miFuncion
a
http://midominio.com/MiControlador/MiFuncion
Thing that using an old reliable as it is XAMPP in local (Windows) works with the following thing in the .htaccess
RewriteEngine On
RewriteCond %{REQUEST_FILENAME}% !-f
RewriteCond %{REQUEST_FILENAME}% !-d
RewriteCond $1 !^(index\.php|assets|robots\.txt)
RewriteRule ^(.*)$ index.php/$1 [L]
But when mounting the files to the server this does not work anymore, I modified the .htaccess with many variants found on the web but still I do not get it.
Error !!
http://midominio.com/cod/Welcome/page2