• 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

Disable Access to website from outside world

qualispace

Regular Pleskian
Hello,

I want to disable the access to a certain website from outside world and it should be accessed only from a couple of IP addresses. I tried the following directives in the httpd.include file

Order deny,allow
Allow from <IP_ADDRESS>

However, when I try to restart Apache, it does not start and I get an error saying Order not allowed.

Any idea how can I achieve the requirement?
 
Well, I found the solution by creating a .htaccess file. Now I need to know how can I restrict the access to the admin URL of a mailing list. Any idea?
 
Back
Top