Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    166
  2. cooldude7273

    cooldude7273 Well-Known Member

    Joined:
    Jan 11, 2004
    Messages:
    359
    Likes Received:
    0
    Trophy Points:
    166
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. zigzam

    zigzam Well-Known Member

    Joined:
    May 9, 2005
    Messages:
    206
    Likes Received:
    0
    Trophy Points:
    166
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice