I have a CentOS (5.7 Final) system on which I already have Apache (2.2.3) installed.
I have installed mod_pagespeed by following the instructions on: http://code.google.com/speed/page-speed/download.html and got the following while installing:
# rpm -U mod-pagespeed-*.rpm warning: mod-pagespeed-beta_current_x86_64.rpm: Header V4 DSA signature: NOKEY, key ID 7fac5991 [ OK ] atd: [ OK ]
It does appear to be installed properly:
# apachectl -t -D DUMP_MODULES Loaded Modules: ... pagespeed_module (shared)
And I've made the following changes in /etc/httpd/conf.d/pagespeed.conf
Commented out the following lines in mod_pagespeed_statistics
<Location /mod_pagespeed_statistics> **# Order allow,deny** # You may insert other "Allow from" lines to add hosts you want to # allow to look at generated statistics. Another possibility is # to comment out the "Order" and "Allow" options from the config # file, to allow any client that can reach your server to examine # statistics. This might be appropriate in an experimental setup or # if the Apache server is protected by a reverse proxy that will # filter URLs in some fashion. **# Allow from localhost** **# Allow from 127.0.0.1** SetHandler mod_pagespeed_statistics </Location>
As a separate note, I'm trying to run the prescribed system tests as specified on google's site, but it gives the following error. I'm averse to updating wget on my server, as I'm sure there's no need for it for the actual module to function correctly.
./system_test.sh www.domain.com You have the wrong version of wget. 1.12 is required.