Created
October 23, 2013 18:18
-
-
Save joshuaadrian/7123800 to your computer and use it in GitHub Desktop.
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
sudo vim /etc/apache2/extra/httpd-vhosts.conf | |
<VirtualHost *:80> | |
ServerName test.local | |
DocumentRoot "/Users/name/Sites/site" | |
ErrorLog "/private/var/log/apache2/test.local-error_log" | |
CustomLog "/private/var/log/apache2/test.local-access_log" common | |
ServerAdmin [email protected] | |
<Directory "/Users/neilg/Sites/apple"> | |
Options Indexes FollowSymLinks | |
AllowOverride All | |
Order allow,deny | |
Allow from all | |
</Directory> | |
</VirtualHost> | |
sudo vim /etc/hosts | |
127.0.0.1 test.local | |
sudo apachectl restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment