jwest75674 opened a new issue #2070:
URL: https://github.com/apache/incubator-pagespeed-mod/issues/2070


   cpanel on cloudlinux
   `yum list installed | grep pagespeed`
   ea-apache24-mod_pagespeed.x86_64 latest-stable @System 
   
   Hello, I am having some troubles understanding why the config shown in the 
documentation is failing here:
   
   ```
   Initial configuration generation failed with the following message:
   
   The “/usr/sbin/httpd -DSSL -t -f 
/etc/apache2/conf/httpd.conf.work.0cf351df.cfgcheck -C Include 
"/etc/apache2/conf.modules.d/*.conf"” command (process 222775) reported error 
number 1 when it ended.
   Configuration problem detected on line 75 of file 
/etc/apache2/conf.modules.d/456_pagespeed.conf:    not a valid experiment spec
   
        --- /etc/apache2/conf.modules.d/456_pagespeed.conf ---
        70  ModPagespeedEnableFilters insert_ga
        71  ModPagespeedRunExperiment on
        72  ModPagespeedUseAnalyticsJs off
        73  ModpagespeedAnalyticsID UA-00000000-1 #hidden
        74
        75 ===>  <===
        76  ModPagespeedExperimentSpec id=1;percent=50;default
        77  ModPagespeedExperimentSpec id=2;percent=50
        78
        79
        80  
        81  # ModPagespeedDomain
        --- /etc/apache2/conf.modules.d/456_pagespeed.conf ---
   
   
   Rebuilding configuration without any local modifications.
   
   Failed to generate a syntactically correct Apache configuration.
   Bad configuration file located at /etc/apache2/conf/httpd.conf.work.0cf351df
   Error:
   The “/usr/sbin/httpd -DSSL -t -f 
/etc/apache2/conf/httpd.conf.work.0cf351df.cfgcheck -C Include 
"/etc/apache2/conf.modules.d/*.conf"” command (process 222781) reported error 
number 1 when it ended.
   Configuration problem detected on line 75 of file 
/etc/apache2/conf.modules.d/456_pagespeed.conf:    not a valid experiment spec
   
        --- /etc/apache2/conf.modules.d/456_pagespeed.conf ---
        70  ModPagespeedEnableFilters insert_ga
        71  ModPagespeedRunExperiment on
        72  ModPagespeedUseAnalyticsJs off
        73  ModpagespeedAnalyticsID UA-000000000-1 # hidden
        74
        75 ===>  <===
        76  ModPagespeedExperimentSpec id=1;percent=50;default
        77  ModPagespeedExperimentSpec id=2;percent=50
        78
        79
        80  
        81  # ModPagespeedDomain
        --- /etc/apache2/conf.modules.d/456_pagespeed.conf ---
   
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to