Question: I have followed this guide to set-up Apache on High Sierra: <https://coolestguidesontheplanet.com/get-apache-mysql-php-and-phpmyadmin-working-on-macos-sierra/>

I used it to set it up on Sierra.

But when I go to `http://localhost/~scott/` I get "Forbidden. You don't have permission to access /~scott/ on this server."

A suggestion on this similar question: [localhost / userdir on macOS High Sierra](https://apple.stackexchange.com/questions/299928/localhost-userdir-on-macos-high-sierra) is to load vhosts. Which I've tried, but still get "Forbidden".

Has anything changed between Sierra and High Sierra which would be preventing Apache from working with user Sites folders?

Answer: 
After trying all the above methods, if you still get "forbidden" when accessing localhost, try adding virtualhost in your /etc/apache2/extra/httpd-vhosts.conf

Add:

```
<VirtualHost *:80>
ServerName localhost
DocumentRoot /Library/WebServer/Documents/
</VirtualHost>

```

then restart apache.

<https://coolestguidesontheplanet.com/set-up-virtual-hosts-in-apache-on-macos-high-sierra-10-13/>

works fine for me
Possible solution (after failing with all the above suggestions). The issue is with the permission of the home directory. It should be executable for group/others:

sudo chmod go+x /Users/username

where "username" is to be replaced with the actual username. After this, it works!