I've looked a lot of provided solutions in this site and other, but can't seem to find something that works.
I've just downloaded Codeigniter and put it in htdocs folder from Xamp. Changed its name to 'notas'. Changed notas/config/config.php
the properties like this
$config['base_url'] = 'http://localhost/notas/';
$config['index_page'] = '';
Created a .htaccess file in'notas'
with many approaches. Currently, I have it like this
RewriteEngine On
RewriteBase /notas/
RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s([^.]+)\.php [NC]
RewriteRule ^ %1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.*?)/?$ $1.php [NC,L]
and the URL http://localhost/notas/welcome
returns Object not found - 404
, where welcome is that default controller in the folder
If I put it like this, I get a 500 error
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1
If there is any other data I could provide to help solve it, please, ask for it
Thanks
EDIT
If I put the .htaccess file like
Satisfy all
or
Satisfy any
Still get 404. I've already rechecked that inside the controller folder exists a Welcome.php file