I have a .htaccess file, but if I have a file outside the folder, it will not allow me access ... And I would like to allow:
RewriteEngine on
RewriteCond $1 !^(index\.php|site|assets|fonts|images|css|js|administrar|entrada|docs|system)
RewriteRule ^(.*)$ index.php/$1 [L]
This file is in the root, where the file I want to display is also, so that I can display I have to remove htaccess, but I need it to manage the administrator.
Edition: This file is in the root of the site, and I needed the root of the site to have a php file, any name ... and because of that I did not access it. But it worked. And I posted the answer.