Página 1 de 1

Checagem de pré-instalação - Permissões?

Enviado: 12 Dez 2006, 19:31
por liza1980
Olá Amigos!

Sou novata e estou com problemas para entender o joomla  :'(

Já fiz o FTP do joomla em portugues (Joomla 1.0.11 versão completa pt_BR - Revisada) para o meu site.

Agora na hora de instalar está aparecendo essa tela abaixo e eu to sem saber o onde encontrar certos arquivos, voces podem me ajudar?

Imagem

O primeiro arquivo que aparece em vermelho é configuration.php , que nao encontrei em lugar nenhum...

Alem disso, o pessoal do servidor pediu para eu colocar permissões 750, e nao colocar 777, porém o "administrator/backups" (la embaixo em vermelho) so fica verde quando eu mudo para 777...

Voces podem me ajudar?

Obrigada,

Liza.

Re: Checagem de pré-instalação - Permissões?

Enviado: 12 Dez 2006, 19:36
por Willian Souza
Olá Liza,

Seja bem vinda ao Joomlabrasil!!! Vc veio ao lugar certo para aniquilar suas dúvidas...  :D

Faça o seguinte...

Abra o Cpanel de sua hospedagem - o famoso gerenciador de arquivos - e dê permissão 750 para todos estes arquivos e diretórios e atualize a pagina para ver se esta com permissão de escrita.

O configuration.php fica no diretório raiz. Quando abrir a pasta WWW, lá estará ele.

Continue então com a instalação.

No aguardo sobre o progresso de sua instalação...

Quanto às mensagens de segurança, faça isto:
http://www.joomlaminas.org/joomla/dicas ... obals.html

Re: Checagem de pré-instalação - Permissões?

Enviado: 12 Dez 2006, 21:01
por liza1980
Olá Willian,

Muito obrigada pela ajuda! :D

Sobre a permissão 750 tive duvida: eu dou permissao 750 para 100% dos arquivos ou somente para os arquivos que estao marcados em vermelho?

Outra coisa que reparei: nao ha arquivo "configuration.php", há um arquivo chamado: "configuration.php-dist" seria este?

Sobre as mensagens de segurança estou lendo o arquivo que vc me passou e vou mexer agora :D

Muito obrigada!  ;D

Liza.

Re: Checagem de pré-instalação - Permissões?

Enviado: 12 Dez 2006, 21:08
por liza1980
Olá Willian,

O meu arquivo é htacess.txt

Mas onde eu insiro a linha "php_flag register_globals off"?

O arquivo é assim:
##
# @version $Id: htaccess.txt 4756 2006-08-25 16:07:11Z stingrey $
# @package Joomla
# @copyright Copyright (C) 2005 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.
#
# Only use one of the two SEF sections that follow.  Lines that can be uncommented
# (and thus used) have only one #.  Lines with two #'s should not be uncommented
# In the section that you don't use, all lines should start with #
#
# For Standard SEF, use the standard SEF section.  You can comment out
# all of the RewriteCond lines and reduce your server's load if you
# don't have directories in your root named 'component' or 'content'
#
# If you are using a 3rd Party SEF or the Core SEF solution
# uncomment all of the lines in the '3rd Party or Core SEF' section
#
#####################################################

#####  SOLVING PROBLEMS WITH COMPONENT URL's that don't work #####
# SPECIAL NOTE FOR SMF USERS WHEN SMF IS INTEGRATED AND BRIDGED
# OR ANY SITUATION WHERE A COMPONENT's URL's AREN't WORKING
#
# In both the 'Standard SEF', and '3rd Party or Core SEF' sections the line:
# RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
# May need to be uncommented.  If you are running your Joomla/Mambo from
# a subdirectory the name of the subdirectory will need to be inserted into this
# line.  For example, if your Joomla/Mambo is in a subdirectory called '/test/',
# change this:
# RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
# to this:
# RewriteCond %{REQUEST_URI} ^(/test/component/option,com) [NC,OR] ##optional - see notes##
#
#####################################################


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

#
#  mod_rewrite in use

RewriteEngine On


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

# RewriteBase /


########## Begin - Joomla! core SEF Section
############# Use this section if using ONLY Joomla! core SEF
## ALL (RewriteCond) lines in this section are only required if you actually
## have directories named 'content' or 'component' on your server
## If you do not have directories with these names, comment them out.
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$  [NC]
RewriteRule ^(content/|component/) index.php
#
########## End - Joomla! core SEF Section



########## Begin - 3rd Party SEF Section
############# Use this section if you are using a 3rd party (Non Joomla! core) SEF extension - e.g. OpenSEF, 404_SEF, 404SEFx, SEF Advance, etc
#
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
#RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$  [NC]
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule (.*) index.php
#
########## End - 3rd Party SEF Section



########## 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!
#                             
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a tag in URL
RewriteCond %{QUERY_STRING} (\|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits

Re: Checagem de pré-instalação - Permissões?

Enviado: 12 Dez 2006, 23:24
por Gabão
vou aproveitar esse topico pra fazer uma pergunta tb na minha instalação sempre fica o caminho das sessões em permissão como eu mudo isso , o resto eu sei mudar mas isso eu não consegui ainda:
Caminho das sessões  Sem sermissão para escrita
/var/lib/php/session

Re: Checagem de pré-instalação - Permissões?

Enviado: 13 Dez 2006, 07:37
por Willian Souza
Willian Souza escreveu: Quanto às mensagens de segurança, faça isto:
http://www.joomlaminas.org/joomla/dicas ... obals.html
Faça o que pede este link. Lá vc irá encontrar as informações necessárias.

Vai depender se seu servidor API é Apache ou CGI. Veja isto no Menu System de seu J!.

Re: Checagem de pré-instalação - Permissões?

Enviado: 13 Dez 2006, 12:27
por liza1980
Olá Willian, :D

Meu servidor é Apache...

Entao vamos ao link que vc me passou:
1 -Servidores com PHP sendo executado como Módulo Apache

Na raiz do seu site existe um arquivo htaccess.txt ou .htaccess.

Caso exista o htacess.txt insira a linha
php_flag register_globals off
e renomeie-o para .htaccess 
Eu tenho que pegar o txt, e colocar a linha, certo?

Mas onde eu coloco essa linha? No começo, meio final? rs...

O arquivo htacess.txt tá numa citação que fiz aí acima...

Eu queria que alguem me falasse onde eu digito a linha...

Re: Checagem de pré-instalação - Permissões?

Enviado: 13 Dez 2006, 12:47
por Willian Souza
vc digita ela em qualquer lugar.