0
I have a file . htaccess, but if I have a file outside the folder, it does not allow me access... And I would like you 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 at the root, where the file I want to display is also, so I can display I have to remove htaccess, but I need it to manage the administrator.
Edition: This file is at the root of the site, and needed the root of the site to have a php file, any name... and because of that did not access. But it worked. And posted the answer.
Your question and answers don’t make sense, access outside, or access from the . php file? I recommend that you edit the question, for now I voted to close, when the edition ends vote to reopen.
– Guilherme Nascimento