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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > how to install Mod_Security

Reply
 
Thread Tools Display Modes
  #31  
Old 07-28-2009, 02:20 AM
Cyber-DL Cyber-DL is offline
Member
 
Join Date: Jan 2009
Posts: 37
Quote:
Originally Posted by anewday View Post
Change the owner of the file to the same user that Apache is running as. If it still doesn't work then it could be due to the fact that mod_security 2 uses different syntax.
i'm using LiteSpeed Enterprise , not apache !

i should change it to apache or lshttpd
Reply With Quote
  #32  
Old 07-28-2009, 10:54 AM
anewday anewday is offline
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 624
I meant the user Litespeed is running as.
Reply With Quote
  #33  
Old 07-28-2009, 12:26 PM
Cyber-DL Cyber-DL is offline
Member
 
Join Date: Jan 2009
Posts: 37
Quote:
[root@nvidia logs]# chown -R apache:apache *
[root@nvidia logs]# ls -la

drwxrwxrwx 2 root root 4096 Jul 24 17:00 .
drwxr-xr-x 49 root root 4096 Jul 28 18:51 ..
-rwxrwxrwx 1 apache apache 1 Jul 26 14:39 audit_log
[root@nvidia logs]#
everythings allright !? is any thing wrong with this ?
Reply With Quote
  #34  
Old 07-28-2009, 01:39 PM
anewday anewday is offline
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 624
It looks ok.
Reply With Quote
  #35  
Old 11-06-2009, 05:06 AM
Cyber-DL Cyber-DL is offline
Member
 
Join Date: Jan 2009
Posts: 37
Correct is :

set full path in your rule files , here for example my log file is a logz and located in /etc/modsecurity2/logs

Code:
SecAuditLog /etc/modsecurity2/logs/logz
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:23 PM.



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