• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question Disable indexing on apache

OverWolf

Regular Pleskian
Hi,
I'm trying to disable indexing for my domains, and after I set it on https.conf, I've see that it's override from plesk.conf.d where I can find all my domains that have their configuration with Indexing option enabled.

The files in plesk.conf.d directory are "read only", because are auto-generated. So, how can I disable this option ?

Thank you
 
Hi Igor,
why directory indexing is enable by default with Plesk ?
Anyway I have add that directive on my single domain (can I add for all domains?), but if I look at plesk.conf.d/vhost/mydomain.conf I can still see this :

Code:
 <Directory /var/www/vhosts/mydomain.com>
                        Options -FollowSymLinks
                        AllowOverride AuthConfig FileInfo Indexes Limit Options=Indexes,SymLinksIfOwnerMatch,MultiViews,ExecCGI,Includes,IncludesNOEXEC
                </Directory>

Why ?
 
Back
Top