Cannot access a newly created directory via HTTP: 403 Forbidden

Created:

2016-12-12 03:46:40 UTC

Modified:

2017-08-08 13:44:21 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Cannot access a newly created directory via HTTP: 403 Forbidden

Applicable to:

  • Plesk 12.5 for Linux

Symptoms

Cannot access a newly created directory via HTTP or a hosting personal page :

403 Forbidden

Cause

Requested directory does not contain any index page.

Resolution

  1. Add an index page to the directory. In case of personal web page it should be placed to /var/www/vhosts/example.com/web_users/username/ directory

  2. If it is required that the page should show directory content, it is needed to enable directory listing in Nginx configuration for this location at Domains > example.com > Apache & nginx Settings :

    location /download {
    autoindex on;
    }
Have more questions? Submit a request

4 Comments

Please sign in to leave a comment.