Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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