isaiah
asked Apr 28 2017
Answer
Instead of blocking in httpd.conf file try the below steps.
Go to /etc/httpd/conf path and create one new directory there. place the conf file for block alone.
Example: If i have example.com domain and I need to block it.
# mkdir /etc/httpd/conf/customconf
# touch example.com.conf
# vim example.com.conf
<IfModule include_module>
YOUR RULE HERE
</IfModule>
jagannatharumugam
asked May 01 2017
edited Oct 05 2018
Is there any way to block sites in apache
Hello.
I have blocked my sites to other network through Rule in httpd.conf file. But the problem is that it frequently altered without my knowledge. How to restrict that process.