Created
July 28, 2014 13:12
-
-
Save mlebkowski/0fc115f55dc456502dd6 to your computer and use it in GitHub Desktop.
*.dev vhosts
This file contains 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
# /etc/apache2/extra/httpd-vhosts.conf | |
<Directory /Volumes/Dev> | |
Require all granted | |
AllowOverride All | |
</Directory> | |
<VirtualHost *:80> | |
ServerName dev | |
ServerAlias *.dev | |
CustomLog /var/log/apache2/dev.access_log vcommon | |
ErrorLog /var/log/apache2/dev.error_log | |
VirtualDocumentRoot /Volumes/Dev/%-2.0.%-1.0/web/ | |
Options +FollowSymLinks | |
DirectoryIndex index.php | |
FallbackResource /index.php | |
PHP_value auto_prepend_file /Volumes/Dev/xhprof.dev/inc/prepend.php | |
PHP_value auto_append_file /Volumes/Dev/xhprof.dev/inc/append.php | |
SetEnv Debug 1 | |
</VirtualHost> | |
<VirtualHost *:80> | |
ServerName vcap.me | |
ServerAlias *.vcap.me *.localtest.me *.lvh.me *.fuf.me | |
CustomLog /var/log/apache2/dev.access_log vcommon | |
ErrorLog /var/log/apache2/dev.error_log | |
VirtualDocumentRoot /Volumes/Dev/%-3.0.dev/web/ | |
Options +FollowSymLinks | |
DirectoryIndex index.php | |
FallbackResource /index.php | |
PHP_value auto_prepend_file /Volumes/Dev/xhprof.dev/inc/prepend.php | |
PHP_value auto_append_file /Volumes/Dev/xhprof.dev/inc/append.php | |
SetEnv Debug 1 | |
</VirtualHost> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment