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.

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:
    37,064
    Likes Received:
    1,287
    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.
     
  3. Nirjonadda

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    341
    Likes Received:
    8
    Trophy Points:
    18
    cPanel Access Level:
    Website Owner

    If permissions required 0644 then why not on this file are set to 0644 by default installation?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    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.
     
  5. Nirjonadda

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    341
    Likes Received:
    8
    Trophy Points:
    18
    cPanel Access Level:
    Website Owner
    I am using from the experimental repo with EasyApache 4.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    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.
     
Loading...

Share This Page