1
Hi, I have a url for a system where "test" in a subfolder within the system directory.
The .htaccess directs the index to a file "php app." what is the file that makes the autoload of the system.
His direction, in the folder "http://meusite.com.br/ambiente_testes/web" is with the .htaccess thus:
DirectoryIndex app.php
<IfModule mod_rewrite.c>
#Habilita o Módulo de Reescrita
RewriteEngine On
#Define a pasta da raiz
RewriteBase /ambiente_testes/web/
#Se a URL apontar para um arquivo, vai diretamente para ele
RewriteCond %{REQUEST_FILENAME} !-f
#Regras de redirecionamento
RewriteRule ^(.*)$ app.php [QSA,L]
</IfModule>
Upon entering the "http://meusite.com.br/ambiente_testes/web" it does not redirect to the php app., and returns a 302 error, in Chrome it automatically redirects after error 302 to a 404 error and redirects the request to "http://meusite.com.br/pagina-nao-encontrada"
Does anyone have any idea how I might be solving this?