LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > pmFromFile root Directory Location?

Reply
 
Thread Tools Display Modes
  #1  
Old 08-07-2011, 01:08 PM
bkonia bkonia is offline
Member
 
Join Date: Sep 2005
Posts: 16
Default pmFromFile root Directory Location?

Which directory should the included files be placed in so that they will be found when calling pmFromFile?
Reply With Quote
  #2  
Old 03-13-2013, 06:50 PM
lancelot lancelot is offline
New Member
 
Join Date: Mar 2013
Posts: 4
Default @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?
Reply With Quote
  #3  
Old 03-13-2013, 08:16 PM
NiteWave NiteWave is online now
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
official document about pmFromFile:
https://github.com/SpiderLabs/ModSec...iki-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.
Reply With Quote
  #4  
Old 03-13-2013, 08:59 PM
lancelot lancelot is offline
New Member
 
Join Date: Mar 2013
Posts: 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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 11:57 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.