• 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
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

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