Problema com .HTACESS

  • ivanlorenzetti
  • Avatar de ivanlorenzetti Autor do Tópico
  • Offline
  • JCB! Estagiário
  • JCB! Estagiário
Mais
11 anos 11 meses atrás #70321 por ivanlorenzetti
ivanlorenzetti replied the topic: Re: Problema com .HTACESS
Dexei as configuracoes do plug in


Check localhost: Yes
Redirect to WWW: Yes
Redirect: On front-end

Please Entrar ou Registrar to join the conversation.

  • ivanlorenzetti
  • Avatar de ivanlorenzetti Autor do Tópico
  • Offline
  • JCB! Estagiário
  • JCB! Estagiário
Mais
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]

Please Entrar ou Registrar to join the conversation.

Mais
11 anos 11 meses atrás #70331 por Uriel
Uriel replied the topic: Re: Problema com .HTACESS
Utilize o componente Acesef

ele ira redirecionar os links antigos para os novos

abraço

Please Entrar ou Registrar to join the conversation.

  • ivanlorenzetti
  • Avatar de ivanlorenzetti Autor do Tópico
  • Offline
  • JCB! Estagiário
  • JCB! Estagiário
Mais
11 anos 11 meses atrás #70336 por ivanlorenzetti
ivanlorenzetti replied the topic: Re: Problema com .HTACESS
Por enquanto não preciso dos redirect.

Oque acontece é que quando eu ativo o REWRITE no Admin do Joomla acontece esse monte de erros.

Please Entrar ou Registrar to join the conversation.

Mais
11 anos 11 meses atrás #70338 por Uriel
Uriel replied the topic: Re: Problema com .HTACESS
vc deixou como .htacess ??

sua hospedagem é linux ou windows??

abraço

Please Entrar ou Registrar to join the conversation.