- Plesk for Linux
How to allow access to the website directory from specified IP address only using
file should be placed in the directory required to be protected.
1. Log in to Plesk server using SSH .
file in the directory required to be protected with the following content:
CONFIG_TEXT: <IfModule mod_authz_host.c>
Require ip 203.0.113.2
Also make sure that the
is installed on your server by executing the following command:
# httpd -M | grep authz_host