• 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

Setup Domains so Anyone can see my directory contents (no 403s)

J

jdjustice

Guest
I would like to setup the server so that in a particular domain, even if there is no 'index.html' file present, when they navigate to a directory they can see the contents of that directory. This should be simple but I have been messing with a vhost.conf files for awhile and can't figure it out.

Any help MUCH appreciated.
 
Put this in vhost.conf:

<Directory /var/www/vhosts/domain.com/httpdocs>
Options +Indexes
</Directory>

Run

/usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=domain.com

Do not forget to replace 'domain.com' with actual name in directory path and in command argument.
 
Does anyone know if it is possible to do from Plesk, rather than an .htaccess file?
 
Back
Top