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.

new custom security policy does not appear in WHM Settings!

Discussion in 'cPanel Developers' started by xpl0it, Jan 9, 2015.

  1. xpl0it

    xpl0it Member

    Joined:
    Jul 4, 2003
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    hello,

    we are developing a new custom security policy, we placed the file ourSecurityPolicy.pm in the directory:

    /usr/local/cpanel/Cpanel/SecurityPolicy

    but it did not appear in the WHM->Configure Security Policies page.

    we also copied the file to /usr/local/cpanel/Cpanel/Security/Policy with no success.

    file starts with
    Code:
     package  Cpanel::Security::Policy::ourSecurityPolicy;
    we restarted cpanel too.

    Any idea?
     
    #1 xpl0it, Jan 9, 2015
    Last edited: Jan 9, 2015
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Do you notice any error messages in /usr/local/cpanel/logs/error_log when accessing "WHM Home » Security Center » Configure Security Policies"?

    Thank you.
     
  3. xpl0it

    xpl0it Member

    Joined:
    Jul 4, 2003
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    hello,
    a syntax error appeared in the log and I fixed it.

    thanks for your guidance :)

    regards
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page