If your hosting provider gives you access to cPanel you will find it under Security -> ModSecurity.
If not, just call up your hosting provider and they will do it for you.
Ok, so this is the chat I just had with Tech Support at Host Gator:
Steven B has joined the chat!
Thank you for contacting live support! My name is Steven, How can I help you today?
Hi, I have a file on my account (your server) which needs to be accessed by Roku in order for my Roku channel to work. I get a certain URL access error on their end, and they told me that the solution is to disable modsecurity.
I don't see an option in my Cpanel to do this. Can you guys disable modsecurity from your end?
what is the domain we are looking at?
Well, the file resides in my [domain]
All of the modsec rules that are applied cannot be removed as they are set by our sysadmin for security purposes unfortunately
Roku's servers need access to [......../json]
So, then how are they going to be able to access that file?
I can't serve it from anywhere else.
I think they get a 406 error every time they try to access it.
Do you happen to have Roku Ip address, we are trying to determine if we can remove that modsec rule
I don't. I'm not sure how I could get that since I don't work there. And I don't know if it's an IP that changes or is static.
we would need that ip address so we could run a log check and see why that modsec rule was implemented before we remove it
Ok, so how would I get that?
Roku support should be able to provide you with that information
And what if the IP changes?
we cant go off assumptions at this pont but if the ip is dynamic (which it should not) then they should have a reputable IP we can use
Ok, I will contact Roku. thanks.
Dear Roku, if you're listening.... what's the IP address? Thank you.