Jump to content


DoN cOrLeOnE

Member Since 08/02/2006
Offline Last Active 06/09/2006, 09:26
-----

Posts I've Made

In Topic: .htaccess

20/03/2006, 17:48

Consegui enfim fazer funcionar, aqui vai como deixei:

RewriteCond %{REQUEST_URI} !^\/teste\.txt$ [NC]
RewriteRule ^\/?(.+)\/?$ index.php?s=$1

Se houver mais arquivos tem que ir fazendo da seguinte maneira:

RewriteCond %{REQUEST_URI} !^\/teste1\.txt$ [NC] [OR]
RewriteCond %{REQUEST_URI} !^\/teste2\.txt$ [NC]
RewriteRule ^\/?(.+)\/?$ index.php?s=$1

Um abraço!

In Topic: .htaccess

20/03/2006, 16:50

Olá Bruno,

Obrigado pela ajuda, testei com sua ajuda também e fazendo mudanças como por exemplo para RewriteCond !^\/teste\.txt$ pois acho que tem que "escapar" a barra e o ponto nestes casos, mas continuo tendo o erro: "Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request."

Vou continuar bringando aqui rsrrsrs...

IPB Skin By Virteq