• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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