• 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

Apache Directives in Service Plans

John Weng

New Pleskian
I'm trying to restrict file access (wp-login.php) to only certain IP addresses. I've successfully configured, manually, via the following options:

  1. /etc/httpd/conf.d/custom.conf (server wide configuration)
  2. Plesk > Domains > domain.tld > Apache & nginx Settings > Additional directives for HTTP (per domain setting)
  3. /var/www/vhosts/system/domain.tld/conf/vhost.conf (same as above, via terminal edit)

Question - is there a way to do this via Service Plans, so only domains in certain plans have this restriction? I've added the Apache directives to no avail.
Plesk > Service Plans > Hosting Plans > Web Server

Please advise.

Thanks,
John
 
Back
Top