403 Errors are almost always related to permissions errors. These permissions errors can stem from 3 permission levels: file, owner and group. Permissions errors can cause trouble a lot of different ways.

Check Permissions

You can do a ls -alh command to list all of the files, permissions, owner and group. The result should look like:

-rw-r--r--  1 owner group   813 Mar 19 01:40 composer.json

Changing file permissions

Here is a command to recursively change the file permissions. Note that the changes will be made to the directory and all files and folders inside of that directory. If you would like to just target one folder or file, remove the -R.

sudo chmod -R 755 directoryname

Changing owner & group permissions

Here is a command to recursively change the owner and group for a folder. Note that the changes will be made to the directory and all files and folders inside of that directory. If you would like to just target one folder or file, remove the -R.

sudo chown -R apache:psaserv httpdocs

On Plesk, the httpdocs folder should be in the group psaserv while all files under should be in the group psacln.

Piwik Issues

Piwik is an open-source analytics platform, similar to Google Analytics, but more extendable because you can install and manage it on your own server.

Here are some helpful links: