- Plesk for Linux
- Plesk for Windows
Attempt to view web user's webpage returns the following error:
Forbidden You do not have permission to access this document. Web Server at example.com
- The web user is created under Plesk > Domains > example.com > Web Users
- Web user's directory is empty:
# ls -l /var/www/vhosts/example.com/web_users/plesktest/
The same could be found on the screenshot:
Webserver (nginx/apache) is trying to access the web user's directory. As there is no index file inside, webserver returns Forbidden error.
Create index file inside the directory, or upload a user's webpage through FTP as it is mentioned in our documentation .
Add the following directives under Plesk > Websites and Domains > Apache & nginx Settings > Additional directives for HTTP :
<Directory /var/www/vhosts/%website name%/web_users/%web user name%/>
In order to allow directory listing (view all files in the directory) for user's folder.