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.

Hotlink Protection

Discussion in 'Security' started by Nirjonadda, Jul 20, 2017.

  1. Nirjonadda

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    341
    Likes Received:
    8
    Trophy Points:
    18
    cPanel Access Level:
    Website Owner
    We can not enable Hotlink Protection. getting error.

    There was an error while enabling hotlink protection.

    Apache detected an error in the Rewrite config.

    Code:
    httpd: Syntax error in -C/-c directive: Could not open configuration file /etc/apache2/conf.modules.d/456_pagespeed.conf: Permission denied
    Screenshot_44.png
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    36,995
    Likes Received:
    1,275
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Check to ensure the permissions on this file are set to 0644. EX:

    Code:
    chmod 0644 /etc/apache2/conf.modules.d/456_pagespeed.conf
    Or, please report this error message to your web hosting provider if you do not have root access to this system.

    Thank you.
     
Loading...

Share This Page