- Postagens: 10
- Obrigados Recebidos: 0
Problema com .HTACESS
- ivanlorenzetti
- Autor do Tópico
- Offline
- JCB! Estagiário
Menos
Mais
- ivanlorenzetti
- Autor do Tópico
- Offline
- JCB! Estagiário
Menos
Mais
- Postagens: 10
- Obrigados Recebidos: 0
11 anos 11 meses atrás #70322
por ivanlorenzetti
ivanlorenzetti replied the topic: Re: Problema com .HTACESS
arquivo .htacess :
#Options +FollowSymLinks
RewriteEngine On
RewriteBase /portal2012
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_URI} !^/index\.php
RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [L]
RewriteCond %{REQUEST_URI} !(\.|/$)
RewriteRule (.*) http://www.dominio.org.br/$1/ [R=301,L]
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ [url=http://www" onclick="window.open(this.href);return false;]http://www[/url].%{HTTP_HOST}/$1 [R=301,L]
RewriteCond %{REQUEST_URI} !^/portal2012
RewriteRule ^(.*)$ portal2012/$1 [L]
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteRule .* index.php [F]
#Options +FollowSymLinks
RewriteEngine On
RewriteBase /portal2012
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_URI} !^/index\.php
RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [L]
RewriteCond %{REQUEST_URI} !(\.|/$)
RewriteRule (.*) http://www.dominio.org.br/$1/ [R=301,L]
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ [url=http://www" onclick="window.open(this.href);return false;]http://www[/url].%{HTTP_HOST}/$1 [R=301,L]
RewriteCond %{REQUEST_URI} !^/portal2012
RewriteRule ^(.*)$ portal2012/$1 [L]
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteRule .* index.php [F]
Please Entrar ou Registrar to join the conversation.
- Uriel
- Offline
- JCB! Legend
- ivanlorenzetti
- Autor do Tópico
- Offline
- JCB! Estagiário
Menos
Mais
- Postagens: 10
- Obrigados Recebidos: 0
- Uriel
- Offline
- JCB! Legend