Mudanças entre as edições de "Instalação do APACHE"
Ir para navegação
Ir para pesquisar
Linha 35: | Linha 35: | ||
</LimitExcept> | </LimitExcept> | ||
</Directory> | </Directory> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Edição das 20h08min de 1 de abril de 2007
Instalando o serviço Apache
- Para instalar o serviço Apache, digitar:
#urpmi apache
Editando o arquivo de configuração do serviço Apache
Editando o arquivo "httpd.conf"
- Abrir arquivo:
#vi /etc/httpd/conf/httpd.conf
editar a seguinte linha: ServerName www.exemplo.com para ServerName maquina.dominio.extensão ex ServerName maverick.berbigao.sj.cefetsc.edu.br
acrescentar no fim do arquivo
<IfModule mod_userdir.c>
UserDir public_html
</IfModule>
loadmodule userdir_module modules/mod_userdir.so
<Directory /home/*/public_html>
AllowOverride FileInfo AuthConfig Limit Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec <Limit GET POST OPTIONS PROPFIND> Order allow,deny Allow from all </Limit> <LimitExcept GET POST OPTIONS PROPFIND> Order deny,allow Deny from all </LimitExcept>
</Directory>