Pagespeed problem.

alt=
DannyA
@dannya
10 years ago
584 posts
My sysadmin installed google pagespeed module on the server.
However, there is a problem - current code of ".htaccess" does not allow to use statistical pages of this module ( https://developers.google.com/speed/pagespeed/module/console):
-------------------------------------------------------------------------------

[Thu Apr 17 06:07:28 2014] [error] [client 82.117.234.215] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
[Thu Apr 17 06:07:28 2014] [debug] core.c(3072): [client 82.117.234.215] r-> uri = /modules/jrCore/router.php
[Thu Apr 17 06:07:28 2014] [debug] core.c(3078): [client 82.117.234.215] redirected from r-> uri = /modules/jrCore/router.php
[Thu Apr 17 06:07:28 2014] [debug] core.c(3078): [client 82.117.234.215] redirected from r-> uri = /modules/jrCore/router.php
[Thu Apr 17 06:07:28 2014] [debug] core.c(3078): [client 82.117.234.215] redirected from r-> uri = /modules/jrCore/router.php
[Thu Apr 17 06:07:28 2014] [debug] core.c(3078): [client 82.117.234.215] redirected from r-> uri = /modules/jrCore/router.php
[Thu Apr 17 06:07:28 2014] [debug] core.c(3078): [client 82.117.234.215] redirected from r-> uri = /modules/jrCore/router.php
[Thu Apr 17 06:07:28 2014] [debug] core.c(3078): [client 82.117.234.215] redirected from r-> uri = /modules/jrCore/router.php
[Thu Apr 17 06:07:28 2014] [debug] core.c(3078): [client 82.117.234.215] redirected from r-> uri = /modules/jrCore/router.php
[Thu Apr 17 06:07:28 2014] [debug] core.c(3078): [client 82.117.234.215] redirected from r-> uri = /modules/jrCore/router.php
[Thu Apr 17 06:07:28 2014] [debug] core.c(3078): [client 82.117.234.215] redirected from r-> uri = /modules/jrCore/router.php
[Thu Apr 17 06:07:28 2014] [debug] core.c(3078): [client 82.117.234.215] redirected from r-> uri = /mod_pagespeed_statistics
[Thu Apr 17 06:07:28 2014] [debug] net/instaweb/apache/mod_instaweb.cc(452): [client 82.117.234.215] ModPagespeed OutputFilter called for request /modules/jrCore/router.php?_uri=/modules/jrCore/router.php
[Thu Apr 17 06:07:28 2014] [debug] net/instaweb/apache/mod_instaweb.cc(473): [client 82.117.234.215] Request not rewritten because: request-> status != 200 (was 500)

as you may see, there is an issue with redirect to "/modules/jrCore/router.php"
following rule if your ".htaccess" implements this redirect:

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)$ modules/jrCore/router.php?_uri=$1 [NC,L]

Please aks your developers to fix this if your want to be able to use all the functionality which Google PageSpeed provides.

updated by @dannya: 05/20/14 09:29:01PM
brian
@brian
10 years ago
10,148 posts
This is how Jamroom works - those rewrite conditions are required. If Pagespeed cannot work with that, then it is not compatible with Jamroom.

Sorry!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
DannyA
@dannya
10 years ago
584 posts
Pagespeed works with rewrites. However, something is causing router.php to loop; too many redirects.
michael
@michael
10 years ago
7,718 posts
try pointing to a file on the system like the index.php. If you leave it open, and its just a url then the routing system will process it.

Tags