• 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.

I need the Indexes option perminantly set.

A

alantone

Guest
I post images to my server for realtors and I don't want to have to create an index page for each folder. In order to have the server automatically create an index page I have been vi'ing into /etc/httpd/conf.d/zz010_psa_httpd.conf and setting "Options Indexes" see below:

<Directory "/var/www/vhosts">
AllowOverride All
Options SymLinksIfOwnerMatch Indexes
Order allow,deny
Allow from all
<IfModule sapi_apache2.c>
php_admin_flag engine off
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine off
</IfModule>
</Directory>

I save it, but then if the server reboots this option gets removed. Does anyone know how to perminently turn this "Indexes" option on?
 
you can create a .htaccess file in your document root with:

Options +Indexes

or you can use a vhost.conf in the conf directory of the domain.
 
Back
Top