URL AMIGAVEIS

  • shakhall
  • Avatar de shakhall Autor do Tópico
  • Offline
  • JCB! Novato
  • JCB! Novato
Mais
15 anos 2 meses atrás #36162 por shakhall
shakhall created the topic: URL AMIGAVEIS
Olá Pessoal

Estou com uma dúvida e se alguem puder me ajudar agradeço desde já.

Instalei o Joomla 1.5 para um cliente que esta hospedado na Locaweb e quando eu habilito a opção URLS AMIGAVEIS, o site perde desconfigura o template, não aparecem imagens, formatação CSS fica tudo em texto puro.

Se alguem souber como corrigir isso, agradeço.

Abr a tds

Please Entrar ou Registrar to join the conversation.


Mais
15 anos 2 meses atrás #36182 por lucascatani
lucascatani replied the topic: Re: URL AMIGAVEIS
E aí tudo bem?

Provavelmente você tenha que renomear o arquivo htaccess.txt para .htaccess

Esse arquivo está no diretório raiz do joomla!

Um abraço! :)

Lucas Catani
[b:1bmpfj72]Blog[/b:1bmpfj72]: <!-- m --><a class="postlink" href=" www.l9web.com.br/blog/ " onclick="window.open(this.href);return false;"> www.l9web.com.br/blog/ </a><!-- m -->
[b:1bmpfj72]MSN:[/b:1bmpfj72] <!-- e --><a href="Este endereço de email está sendo protegido de spambots. Você precisa do JavaScript ativado para vê-lo.">Este endereço de email está sendo protegido de spambots. Você precisa do JavaScript ativado para vê-lo.</a><!-- e -->
[b:1bmpfj72]L9WEB | WEBSITES[/b:1bmpfj72] <!-- m --><a...

Please Entrar ou Registrar to join the conversation.

Mais
15 anos 2 meses atrás #36189 por seep
seep replied the topic: Re: URL AMIGAVEIS
olha ae
##
# @version $Id: htaccess.txt 14401 2010-01-26 14:10:00Z louis $
# @package Joomla
# @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##


#####################################################
#  READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations.  It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file.  If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's.  If they work,
# it has been set by your server administrator and you do not need it set here.
#
#####################################################

##  Can be commented out if causes errors, see notes above.
Options +FollowSymLinks

#
#  mod_rewrite in use

RewriteEngine On

########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
## Deny access to extension xml files (uncomment out to activate)
#<Files ~ "\.xml$">
#Order allow,deny
#Deny from all
#Satisfy all
#</Files>
## End of deny access to extension xml files
RewriteCond %{QUERY_STRING} mosConfig_&#91;a-zA-Z_&#93;{1,21}(=|\%3D) &#91;OR&#93;
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) &#91;OR&#93;
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) &#91;NC,OR&#93;
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\&#91;|\%&#91;0-9A-Z&#93;{0,2}) &#91;OR&#93;
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\&#91;|\%&#91;0-9A-Z&#93;{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php &#91;F,L&#93;
#
########## End - Rewrite rules to block out some common exploits

#  Uncomment following line if your webserver's URL
#  is not directly related to physical file paths.
#  Update Your Joomla! Directory (just / for root)

# RewriteBase /


########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/&#91;^.&#93;*)$  &#91;NC&#93;
RewriteRule (.*) index.php
RewriteRule .* - &#91;E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L&#93;
#
########## End - Joomla! core SEF Section

Please Entrar ou Registrar to join the conversation.

Mais
15 anos 2 meses atrás #36216 por lucascatani
lucascatani replied the topic: Re: URL AMIGAVEIS
O arquivo não precisa modificar... só renomear... e cheque com a locaweb se o modo rewrite do apache está ativado! Um abraço!

Lucas Catani
[b:1bmpfj72]Blog[/b:1bmpfj72]: <!-- m --><a class="postlink" href=" www.l9web.com.br/blog/ " onclick="window.open(this.href);return false;"> www.l9web.com.br/blog/ </a><!-- m -->
[b:1bmpfj72]MSN:[/b:1bmpfj72] <!-- e --><a href="Este endereço de email está sendo protegido de spambots. Você precisa do JavaScript ativado para vê-lo.">Este endereço de email está sendo protegido de spambots. Você precisa do JavaScript ativado para vê-lo.</a><!-- e -->
[b:1bmpfj72]L9WEB | WEBSITES[/b:1bmpfj72] <!-- m --><a...

Please Entrar ou Registrar to join the conversation.

Mais
15 anos 2 meses atrás #36231 por julyoduart
julyoduart replied the topic: Re: URL AMIGAVEIS
Lucas

Vou tentar e depois posto o que ocorreu.

Muito obrigado.

abraços

Please Entrar ou Registrar to join the conversation.