pmFromFile root Directory Location?

#2
@pmFromFile location?

Did this question ever get answered? When you put the Rules inside the Litespeed config (not Apache), and use @pmFromFile, where does it look for the files at?
 

NiteWave

Administrator
#3
official document about pmFromFile:
https://github.com/SpiderLabs/ModSecurity/wiki/Reference-Manual#wiki-pmFromFile

this directive only support in apache's httpd.conf, not inside Litespeed config.

litespeed native config compatible up to mod_security 1.9.x. pmFromFile directive is introduced from mod_security 2.5.

some users need some basic security rules, so litespeed still keep those old mod_security modules/functions for native configuration.
 
#4
So are you saying that the native Litespeed config only supports mod_security 1.9.x? In your CHANGELOG it says you support mod_security 2.5.x (including @pmFromFile). So is the only way to get mod_security 2.5.x support in Litespeed is to put the mod_security settings inside a Apache Configuration file, and then setup Litespeed to Load that Apache Configuration configuration? If so, then can I put only the mod_security settings inside an Apache config file, and leave everything else in the Litespeed native configuration?

I find it strange that your native configuration supports less features then if you put it into a Apache configuration file. It seems like the native configuration would support the same mod_security version level as the Apache config setup.
 
Top