• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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