Skip to content

Instantly share code, notes, and snippets.

@wykydtronik
Created April 10, 2017 22:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wykydtronik/8c9e3b701ac138b19a7d012a34d34c6c to your computer and use it in GitHub Desktop.
Save wykydtronik/8c9e3b701ac138b19a7d012a34d34c6c to your computer and use it in GitHub Desktop.
httpd-vhosts.conf example for macos sierra
<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