I'm trying to restrict file access (wp-login.php) to only certain IP addresses. I've successfully configured, manually, via the following options:
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
- /etc/httpd/conf.d/custom.conf (server wide configuration)
- Plesk > Domains > domain.tld > Apache & nginx Settings > Additional directives for HTTP (per domain setting)
- /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