cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Go to solution

Sucuri recommends I add code to the Apache 2.4 configuration

To prevent bypassing their firewall, Sucuri recommends I add code to the Apache 2.4 configuration, namely:

 

<FilesMatch ".*">
    Require ip xxx.88.134.0/23
    Require ip xxx.93.228.0/22
    Require ip xxxx:fe80::/29
    Require ip xxx.248.200.0/22
</FilesMatch>

Can this be done?

Thanks very much in advance.

 

Boyd 

2 REPLIES 2
Helper VI
Helper VI
Solution

Re: Sucuri recommends I add code to the Apache 2.4 configuration

Hello @boydstone

 

Maybe this will help you:

https://uk.godaddy.com/help/configure-apache-virtual-hosts-20270

***Signature: -> Do not assume anything! If you want help, explain your problem. If my post helped you, give it a Kudo. If you have the solution, mark the topic as Solved.

Re: Sucuri recommends I add code to the Apache 2.4 configuration

OK, thanks, I used File Manager to create a example.com.conf file inside the /etc/example.com subdirectory and in this new file I pasted the code from Sucuri.  But I don't have access to a Linux terminal so this probably won't work--I can't enable to conf file and I can't restart Apache, so this is probably not going to work.

 

Thanks for your help.

best,

Boyd