MacPorts

Solved: Apache won't serve files from external drive on macOS

If you've tried to develop a website and the files are on an external drive, you might find that httpd will refuse to serve the files. In your browser you'll see:

Forbidden
You don't have permission to access this resource.Server unable to read htaccess file, denying access to be safe

And in your Apache error log you'll read:

Apache, MySQL, PHP on OS X 10.9 Mavericks with MacPorts

I shared my LAMP/MAMP build script on Github.

Topic: 
Subscribe to RSS - MacPorts