Created
February 5, 2019 19:11
-
-
Save BenFausch/4c4d4e7f6fc8fc20e1e279c65b22a787 to your computer and use it in GitHub Desktop.
Apache/wordpress setup for virtual hosts
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
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