mod security

Discussion in 'General' started by erkan, Jun 2, 2012.

  1. erkan

    erkan Member

    How do I download and install mod security on Debian 6?
     
  2. rosehosting

    rosehosting Member

    You can do that by using debian's package manager. So, install 'libapache2-mod-security' if it's not installed already and then you need to actually enable it.

    Code:
    apt-get update && apt-get upgrade --show-upgraded -y
    apt-get install libapache-mod-security -y
    a2enmod mod-security
    That's how I would install it on a Debian box
     
    Last edited: Jun 2, 2012
  3. erkan

    erkan Member

    When I try to install it I get this message:

    E: Unable to locate package libapache2-mod-security
     
  4. rosehosting

    rosehosting Member

    Sorry that was a typo. The package is named as:

    Code:
     ┌┤host->root /
     └╼ apt-cache search libapache2-mod-security
    libapache-mod-security - Tighten web applications security for Apache
    so install 'libapache-mod-security' instead of 'libapache2-mod-security'.
     
  5. erkan

    erkan Member

    Yes that worked much better!
     

Share This Page