How to disable mod_security for a specific domain?

a24uall

Active Member
Feb 4, 2010
27
0
51
India
I have installed mod_security on my server.
I want this disabled for a specific domain name. But the problem is domain is not pointed to this server and I am using IP/~username to access the test site and getting caught by mod_security.
Disabled mod_sec works fine if I try to access via domain name (By editing local hosts file).
But I want, Ip/~username excluded from mod_sec check for the same user.
Any suggestions?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
  • Like
Reactions: Prakash K. Lakhara