• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

How can I enable directory listing?

W

wintech2003@

Guest
I have a folder with images, and I would like to enable directory listing on it, so that users that point their broswer to the URL of this directory will get a list of all images, which they can then click on and see the picture.

Currently I get a 403 - Forbidden error when I point my broswer to this directory.

How can I enable this feature?

PS. I'm talking about a direcotry inside httpdocs

Thanks a lot in advance
 
Hi there,

how can I run that using command line tools or websrvmng (plesk)...

Regards
Ben
 
Domains -> domain.com -> Web Directories -> Web Directory Preferences -> Directory browsing checkbox
 
This makes me able to change it in plesk... But how can I change it using command line?
 
Add .pdf to MIME types, currently IIS does not recognize this file type.
 
Do I have to do that with every single domain or can I easily add a skeleton or something?
 
Originally posted by BenjamnL
Do I have to do that with every single domain or can I easily add a skeleton or something?
If you do it on server level (manually within IIS), then it's added to all domains. I haven't tried it within Plesk yet...
 
Thanks man, I forgot that =)

There are by the way .htaccess in the folder, but it is not working... So I forgot to protect it with plesk!

How can I enable htaccess?
 
.htaccess works on *nix (like Linux) systems only AFAIK... On Windows, you need to protect directories in Web Directory Preferences within Plesk (or manually -> right click folder -> properties -> security)
 
Back
Top