0

So I changed it from /var/www to /home/John/Dropbox/www and I also did chmod 755 /home/John/Dropbox/www but it still says You don't have permission to access / on this server.

I forgot how to do this, I guess I need to add the www-data usergroup to the folder...I don't remeber anymore, can you guys help me out.

Uffo
  • 111
  • 2

1 Answers1

1

I got it to work like this:

chgrp -R www-data /username/
chmod -R 2750 /username/

And also add in apache2.conf

<Directory /home/JOgn/Dropbox/www>
    Options Indexes FollowSymLinks
    AllowOverride All
    Require all granted
</Directory>
Uffo
  • 111
  • 2