Results 1 to 4 of 4

Thread: mod_security installation problem

  1. #1
    Join Date
    Sep 2006
    Location
    Larisa, Greece
    Posts
    236

    mod_security installation problem

    Hi,
    I need some help on installing mod_security.

    i installed it by the ports (mod_security21),
    added in httpd.conf :
    <IfModule security2_module>
    Include /etc/httpd/conf/modsecurity.conf
    </IfModule>

    and in modsecurity.conf some rules...

    In my logs when i restart apache i get :

    [Sat Jun 28 01:57:52 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/local/sbin/suexec)
    [Sat Jun 28 01:57:52 2008] [notice] ModSecurity for Apache 2.1.7 configured


    but i dont get the log file i specified in modsecurity.conf

    I believe that the module gets loaded but it doesnt use the rules.. And i dont get anything weird in error_log

    Thanks in advance.

  2. #2
    Join Date
    Mar 2008
    Posts
    121
    Perhaps a stupid question, but did you load any rules?

  3. #3
    Join Date
    Sep 2006
    Location
    Larisa, Greece
    Posts
    236
    Problem solved.
    I've just removed the ifmodule directives and all worked.
    For some strange reason ifmodule didnt work.

  4. #4
    Join Date
    Mar 2008
    Posts
    121
    Good to hear that

Similar Threads

  1. mod_security installation problem
    By seoguru in forum Off-Topic Discussion
    Replies: 6
    Last Post: 01-31-2012, 07:52 AM
  2. Problem at installation
    By overmind in forum Installation / System Requirements
    Replies: 7
    Last Post: 04-21-2009, 12:19 PM
  3. Problem in installation
    By master in forum FreeBSD 7.x
    Replies: 1
    Last Post: 06-06-2008, 12:04 AM
  4. problem installation
    By jjj in forum Installation / System Requirements
    Replies: 7
    Last Post: 03-02-2006, 11:35 AM
  5. mod_security on Debian installation problems
    By roelp in forum MySQL / PHP
    Replies: 0
    Last Post: 11-10-2005, 06:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •