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!

SOLVED Redirect URL fails with mod_pagespeed

Discussion in 'EasyApache' started by BradD, Mar 29, 2017.

  1. BradD

    BradD Registered

    Joined:
    Mar 29, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Sydney
    cPanel Access Level:
    Root Administrator
    Hi,

    I'm trying to setup a redirect but I'm getting this error:

    There was an error adding the redirect.

    Apache detected an error in the Rewrite config. <pre>httpd: Syntax error in -C/-c directive: Could not open configuration file /etc/apache2/conf.modules.d/456_pagespeed.conf: Permission denied </pre> Please try again.

    can't find any literature on it.

    Thanks,
    Brad
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,659
    Likes Received:
    1,787
    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
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Nirjonadda

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    593
    Likes Received:
    15
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator

    If permissions required 0644 then why not on this file are set to 0644 by default installation?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,659
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Did you install this module using the instructions on it's GitHub page, or from the experimental repo with EasyApache 4?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Nirjonadda

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    593
    Likes Received:
    15
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    I am using from the experimental repo with EasyApache 4.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,659
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Internal case EA-6674 is open to report the issue where 0640 permissions are configured for /etc/apache2/conf.modules.d/456_pagespeed.conf when mod_pagespeed is installed from the EA4 experimental repo. I'll update this thread once the case is solved.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,659
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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