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!

Hotlink Protection

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

  1. Nirjonadda

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    597
    Likes Received:
    15
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,343
    Likes Received:
    1,851
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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