• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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