Created
April 10, 2017 22:34
-
-
Save wykydtronik/8c9e3b701ac138b19a7d012a34d34c6c to your computer and use it in GitHub Desktop.
httpd-vhosts.conf example for macos sierra
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
<VirtualHost *:80> | |
ServerName localhost | |
DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs" | |
<Directory "/Applications/XAMPP/xamppfiles/htdocs"> | |
ServerSignature Off | |
Options Indexes FollowSymLinks IncludesNoExec | |
AllowOverride All | |
Require all granted | |
</Directory> | |
ErrorLog "logs/localhost-error_log" | |
</VirtualHost> | |
<VirtualHost *:80> | |
ServerName wordpress.dev | |
DocumentRoot "/Users/yourusername/Documents/github/wordpress" | |
<Directory "/Users/yourusername/Documents/github/wordpress"> | |
ServerSignature Off | |
Options Indexes FollowSymLinks IncludesNoExec | |
AllowOverride All | |
Require all granted | |
</Directory> | |
ErrorLog "logs/wordpress.dev-error_log" | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment