So updated to Sierra only to discover that my PHP running environment disappeared.
By default the DocumentRoot is set to '/Library/WebServer/Documents'. No big deal I'll just modify the /etc/apache2/httpd.conf file to point back to my working environment:
Changed:
#User _www
# Group _www
To
User mtparish
Group staff
Commented out the existing DocumentRoot
#DocumentRoot "/Library/WebServer/Document"
#<Directory "/Library/WebServer/Document"
And replace them with my mapping
DocumentRoot "/User/mtparish/WebSites"
<Directory "/User/mtparish/WebSites"
This was my previous configuration.
Restarted Apache.
Didn't work. Back out to the default configuration and everything works fine as long as I copy all my files to /Library/WebServer/Document. This is a big pain in my behind because all of my utilities/editor are set to my working directory and really, really don't want to modify everything.
Anyone see an obvious error?? This work fine in Yosemite but, so far, not on Sierra
By default the DocumentRoot is set to '/Library/WebServer/Documents'. No big deal I'll just modify the /etc/apache2/httpd.conf file to point back to my working environment:
Changed:
#User _www
# Group _www
To
User mtparish
Group staff
Commented out the existing DocumentRoot
#DocumentRoot "/Library/WebServer/Document"
#<Directory "/Library/WebServer/Document"
And replace them with my mapping
DocumentRoot "/User/mtparish/WebSites"
<Directory "/User/mtparish/WebSites"
This was my previous configuration.
Restarted Apache.
Didn't work. Back out to the default configuration and everything works fine as long as I copy all my files to /Library/WebServer/Document. This is a big pain in my behind because all of my utilities/editor are set to my working directory and really, really don't want to modify everything.
Anyone see an obvious error?? This work fine in Yosemite but, so far, not on Sierra