Skip to content

Instantly share code, notes, and snippets.

@BenFausch
Created February 5, 2019 19:11
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 BenFausch/4c4d4e7f6fc8fc20e1e279c65b22a787 to your computer and use it in GitHub Desktop.
Save BenFausch/4c4d4e7f6fc8fc20e1e279c65b22a787 to your computer and use it in GitHub Desktop.
Apache/wordpress setup for virtual hosts
follow instructions here for mojave:
https://getgrav.org/blog/macos-mojave-apache-mysql-vhost-apc
//httpd conf file is here:
/usr/local/etc/httpd/httpd.conf
//in httpd conf, the virtual hosts file is here:
sublime /usr/local/etc/httpd/extra/httpd-vhosts.conf
//if you run into root issues, all domains pointing to one page, check the following in httpd.conf:
//uncomment the following:
# Virtual hosts
Include /usr/local/etc/httpd/extra/httpd-vhosts.conf
//
LoadModule vhost_alias_module lib/httpd/modules/mod_vhost_alias.so
//
//check that you are using the correct httpd.conf and httpd-vhosts.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment