-
-
Save claudioovp/e003a7f76238f56d6255 to your computer and use it in GitHub Desktop.
httpd-vhosts.conf
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
| subl /private/etc/apache2/extra/httpd-vhosts.conf | |
| # Virtual Hosts | |
| # | |
| # Required modules: mod_log_config | |
| # custom dev sites | |
| <Directory "/Users/claudio/Sites"> | |
| Options Indexes MultiViews FollowSymLinks | |
| AllowOverride All | |
| Order allow,deny | |
| Allow from all | |
| Require all granted | |
| </Directory> | |
| <Virtualhost *:80> | |
| VirtualDocumentRoot "/Users/claudio/Sites/_localhost" | |
| UseCanonicalName Off | |
| </Virtualhost> | |
| <Virtualhost *:80> | |
| VirtualDocumentRoot "/Users/claudio/Sites/%2/public" | |
| ServerName sites.public | |
| ServerAlias www.*.public | |
| ServerAlias www.*.public.*.xip.io | |
| UseCanonicalName Off | |
| </Virtualhost> | |
| <Virtualhost *:80> | |
| VirtualDocumentRoot "/Users/claudio/Sites/%1/public" | |
| ServerName sites.public | |
| ServerAlias *.public | |
| ServerAlias *.public.*.xip.io | |
| UseCanonicalName Off | |
| </Virtualhost> | |
| <Virtualhost *:80> | |
| VirtualDocumentRoot "/Users/claudio/Sites/%2" | |
| ServerName sites.dev | |
| ServerAlias www.*.dev | |
| ServerAlias www.*.dev.*.xip.io | |
| UseCanonicalName Off | |
| </Virtualhost> | |
| <Virtualhost *:80> | |
| VirtualDocumentRoot "/Users/claudio/Sites/%1" | |
| ServerName sites.dev | |
| ServerAlias *.dev | |
| ServerAlias *.dev.*.xip.io | |
| UseCanonicalName Off | |
| </Virtualhost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment