View Single Post
  #1  
Old 11-26-2012, 08:39 PM
c0ldshadow c0ldshadow is offline
Member
 
Join Date: Aug 2011
Posts: 10
Question .htaccess | modsecurity rules work on one vhost but no another

have litespeed v4.1.13

I have 2 vhosts, e.g. works.com and doesntwork.com

The same identical modsecurity rule works on one vhost but not the other

e.g. in the works.com vhost I have

SecFilterSelective "REMOTE_ADDR" "^5\.5\.5\.5$"

as expected, when I visit my site from my IP, I get blocked

The same exact rule doesn't work in the doesntwork.com vhost... e.g. i go to the 2nd vhost site and don't get blocked

Here is what is really odd though... other features of the doesntwork.com vhost are working fine, e.g. URL rewrites, htaccess password authorization... it's only modsecurity for which rules seem to be ignored in the doesntwork.com vhost


in looking through the settings in the litespeed webui, both vhosts seem to have identical settings..


I have tried gracefully restarting the webserver but no luck.

is this a known bug / issue? please advise regarding next steps to troubleshoot

Last edited by c0ldshadow; 11-26-2012 at 08:44 PM..
Reply With Quote