I'm offering shared hosting on centos5 server with cpanel and litespeed (multicpu license)
I want to block out a large list of user-agents through litespeed's filtering rules but for some reason I cant get them to work.
For example, blocking empty user agent I got this rule in request filters:
I tried another one, blocking by request url
It didn't work either, nor any of the combinations of those.
How can I get this to work OTHER than htaccess.
Once again, I am selling shared hosting and I want this forcefully enabled for all clients. I know why I want it, I just don't know HOW to do it.
I want to block out a large list of user-agents through litespeed's filtering rules but for some reason I cant get them to work.
For example, blocking empty user agent I got this rule in request filters:
Code:
action: deny,log,status:403
rules definitions: SecFilterSelective "HTTP_USER_AGENT|HTTP_HOST" "^$"
Code:
action: deny,log,status:403
rules definitions: SecFilterSelective THE_REQUEST "/phpBB/" status:403
How can I get this to work OTHER than htaccess.
Once again, I am selling shared hosting and I want this forcefully enabled for all clients. I know why I want it, I just don't know HOW to do it.
Last edited by a moderator: