Configuring Apache for localhost

/xxx/xxxx also needs to be readable by www-data in order to work as document root. You’ll also need the permissions defined in a directory block.

<Directory /xxx/xxxx/>
    Options Indexes FollowSymLinks
    AllowOverride None
    Require all granted
</Directory>

Or set your DocumentRoot /xxx/xxxx/Web

Leave a Comment