Created
August 2, 2013 22:11
-
-
Save viniciusss/6143873 to your computer and use it in GitHub Desktop.
Configuração do apache para Sub domínios dinâmicos.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UseCanonicalName Off | |
VirtualDocumentRoot /vagrant/%2/%1/ | |
# Explicando melhor | |
# O apache vai receber uma url dessa forma aqui http://app.empresa.com.br/ | |
# E ele vai procurar pela pasta /vagrant/empresa/app/ | |
# Outro exemplo http://gist.github.com/ | |
# Ele vai procurar por /vagrant/gitgub/gist/ | |
# Tem que habilitar o modulo vhost_alias. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment