[CentOS-pt-br] Apache2 - Virtualhost

Wiliam de Freitas wiliam em bsd.com.br
Quarta Maio 29 23:28:24 UTC 2013


Vc pode colocar todos os vhosts em arquivos separados, inclusive o default,
utilizando um "Include diretorio_com_vhosts/" no httpd.conf.
Abs!


2013/5/22 Allysson .\\oraes <moraesab em gmail.com>

> Bem,
>
> recomendo ver o manual online
> http://httpd.apache.org/docs/2.2/mod/core.html#virtualhost
>
>
> Allysson
> RHCE
>
>
> 2013/5/22 Robson Roberto Souza Peixoto <robsonpeixoto em gmail.com>
>
>> Parece que o default é o que vem primeiro =/
>>
>> Como eu gosto de separar um arquivo para cada virtualhost, eu tive que
>> colocar o default direto no httpd.conf, fora do arquivo específico!
>>
>>
>> 2013/5/22 Gabriel <gabriel.franca em gmail.com>
>>
>>>  No apache e simples também,
>>>
>>> edite o arquivo vim /etc/httpd/conf/httpd.conf
>>>
>>> e descomente essa linha.
>>>
>>> NameVirtualHost *:80
>>>
>>> depois crie os virtualHosts necessarios.
>>>
>>> att,
>>>
>>> Gabriel
>>>
>>>
>>> Em 22-05-2013 10:36, Robson Roberto Souza Peixoto escreveu:
>>>
>>>  Galera,
>>>
>>>  como eu configuro o virtualhost padrão usando Apache?
>>>
>>>  No nginx é muito simples: "server_name _;"
>>>
>>>  []s
>>>
>>>
>>> _______________________________________________
>>> CentOS-pt-br mailing listCentOS-pt-br em centos.orghttp://lists.centos.org/mailman/listinfo/centos-pt-br
>>>
>>>
>>>
>>> _______________________________________________
>>> CentOS-pt-br mailing list
>>> CentOS-pt-br em centos.org
>>> http://lists.centos.org/mailman/listinfo/centos-pt-br
>>>
>>>
>>
>>
>> --
>> Robson Roberto Souza Peixoto
>> Robinho http://robsonpeixoto.com/
>> Master in Computer Science, University of Campinas
>> Linux Counter #395633
>> IRC: robsonpeixoto
>> Twitter: http://twitter.com/rrspba
>> github: https://github.com/robsonpeixoto
>>
>> _______________________________________________
>> CentOS-pt-br mailing list
>> CentOS-pt-br em centos.org
>> http://lists.centos.org/mailman/listinfo/centos-pt-br
>>
>>
>
> _______________________________________________
> CentOS-pt-br mailing list
> CentOS-pt-br em centos.org
> http://lists.centos.org/mailman/listinfo/centos-pt-br
>
>


-- 
  _    Wiliam Freitas <wiliam em bsd.com.br>
 °v°   http://twitter.com/wili4m
/(_)\  http://blogporta80.com.br
 ^ ^   Use Linux. Liberdade para todos!

CONFIDENTIALITY WARNING

This communication, including any attachments, is for the exclusive use of
addressee and may contain proprietary and/or confidential information. If you
are not the intended recipient, any use, copying, disclosure, dissemination or
distribution is strictly prohibited. If you are not the intended recipient,
please notify the sender immediately by return e-mail, delete this
communication and destroy all copies.
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://lists.centos.org/pipermail/centos-pt-br/attachments/20130529/7a8bd17e/attachment.html 


Mais detalhes sobre a lista de discussão CentOS-pt-br