• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Directory browsing not working

michiiee

New Pleskian
Hi there, i need help.

I am using Plesk Obsidian and a Wordpress installation. I have quite a lot of files for some users of my homepage.
I want the users to be able to use directory browsing to access those files.

This is how my directory looks like:
products/
directory_a/
directory_b/
index.html

in directory_a(
direcory_c
dir_d

and so on.
Not every directory conains a index.html.

What works:
I am able to open the products folder in my Browser mydomain.com/products/ succesfully, it loads the index.html correctly.

What doesnt work:
Opening
mydomain.com/products/direcory_a/
I get a 403 forbidden.
I would like to see all the subdirectories.

I tried everything written here: How to enable/disable directory browsing on Plesk for Linux?
but without success.

Any suggestions would be very appreciated.

Regards,
Michael
 
OK it seems that setting the checkbox "Statische Dateien direkt durch nginx bedienen " (eng. serve static files with nginx) somehow helps. But still for some folders i am getting 403. This is really confusing.
 
Ok you can delete this post, i figured it out myself. I had to change all the permissions of all files and directories to 0755 with chmod command.
 
Actually, the solution would have been to create an .htaccess file in document root with this content:
Code:
Options +Indexes
 
Back
Top