Well, I recently asked a question right here in the Stack ( Questions in .htacess ) about a bit of htaccess to solve a problem I'm having in the company.
After giving a good study and begin to understand +/- how things happen I can not find a solution to the following code:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_FILENAME} !-f [OR]
RewriteCond %{REQUEST_FILENAME} (\.php)$
#RewriteBase /projetos/c/*****/dev/acompanhamentoobra/
RewriteBase /acompanhamentoobra/
RewriteRule ^(.+)$ index.php?path=$1 [QSA,L]
The problem is as follows, we have the site root folder (www. ****. com) and several subfolders, all subfolders work and redirect normally but times a specific (follow up) than anything that I try it does not work.
For example: I have this .htaccess but if I open the file and delete all the content it still continues with the same stream as if it had not changed anything in the content, / p>
The root folder of the site has 1 .htaccess and the emptyfolder in thefolderfolder we have the one that showed the code.
Can any of you see a problem in this code? If you see, please show me !!!