• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

How do I can display the directory's file list ?

N

Neantis

Guest
Hi,

How do I can configure apache for one of my customer to display the file list of a directory ?
I know i can add some configuration in vhost.conf but i don't know what i need to add.

Does anyone can help me ?

Thanks in advance for your help ;)

PS: Sorry for my english, i'm not a native english speaker.
 
Add this into a vhost.conf file for your domain

Code:
<Directory "/var/www/vhosts/domain/httpdocs/sub-folder-if-any">
Options Indexes
</Directory>


Then run
Code:
/usr/local/psa/admin/bin/websrvmng -v -a
service httpd restart

That will do it.
 
I feel the .htaccess solution is much more easier to do for any user.
It is a simple file with a single line.

Options +Indexes
 
Back
Top