The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Mod_security 2 and Frontpage

Discussion in 'Security' started by zigzam, Jan 12, 2008.

  1. zigzam

    zigzam Well-Known Member

    Joined:
    May 9, 2005
    Messages:
    206
    Likes Received:
    0
    Trophy Points:
    16
  2. cooldude7273

    cooldude7273 Well-Known Member

    Joined:
    Jan 11, 2004
    Messages:
    363
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Roswell, GA
    Not sure, but I believe, say if user1 wanted to use frontpage for his site, you would make that rule

    Code:
    <LocationMatch "/home/user1/public_html/">
      SecFilterInheritance Off
    </LocationMatch>
    That's only an educated guess though.
     
  3. zigzam

    zigzam Well-Known Member

    Joined:
    May 9, 2005
    Messages:
    206
    Likes Received:
    0
    Trophy Points:
    16
    I got it figured out but when I add the code to either:

    modsec2.user.conf
    modsec2.conf

    it causes apache to fail. When I was using mod_security 1 it was added right with the rules, but that doesn't work with mod_security 2.

    Any ideas?
     
Loading...

Share This Page