SOLVED Redirect URL fails with mod_pagespeed

BradD

Registered
Mar 29, 2017
1
0
1
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,227
463
Could not open configuration file /etc/apache2/conf.modules.d/456_pagespeed.conf: Permission denied
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,227
463
If permissions required 0644 then why not on this file are set to 0644 by default installation?
Did you install this module using the instructions on it's GitHub page, or from the experimental repo with EasyApache 4?

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,227
463
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,227
463