- setting up apache
- when setting up the VHosts, it's necessary to comment out the example config otherwise we get warnings that a given folder was not found
- setting up Dnsmasq
apachectl start
/apachectl stop
/apachectl restart
: turn on/off apache serverapachectl configtest
: test apache configuration
- it's necessary to change the ownership of the VHost folder such that the Apache server can use
chmod +a "_www allow list,read,search,readattr,readsecurity,file_inherit,directory_inherit" /path/to/document_root
- http://stackoverflow.com/questions/4424612/how-to-add-a-user-to-apache-group-on-mac-os-x
- http://stackoverflow.com/questions/6079783/how-do-i-give-apache-access-to-folders-on-mac-osx
- http://stackoverflow.com/questions/2001881/correct-owner-group-permissions-for-apache-2-site-files-folders-under-mac-os-x
- http://superuser.com/questions/508337/mac-osx-permission-error-apache-folder-chown-www
- cleaner configuration with a virtual host folder to host different Apache configs, see
- https://mallinson.ca/osx-web-development/
- http://fourkitchens.com/blog/article/local-development-apache-vhosts-and-dnsmasq
- https://akrabat.com/automatic-apache-vhosts/
- https://coolestguidesontheplanet.com/forbidden-403-you-dont-have-permission-to-access-username-on-this-server/
- http://jason.pureconcepts.net/2014/11/configure-apache-virtualhost-mac-os-x/