• 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!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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