Console Issues

6 views
Skip to first unread message

Hemant Nandrajog

unread,
Jun 3, 2013, 9:48:01 PM6/3/13
to mod-pagespeed...@googlegroups.com
Hello, 

Updated to the new beta version 1.5.28.2-3084.x86_64.rpm
And enabled the console in common pagespeed.conf (apache /etc/httpd/conf.d/ directory) 
by adding 

<Location /mod_pagespeed_console>
    Allow from localhost
    Allow from 127.0.0.1
  Allow from myip
    SetHandler mod_pagespeed_console
</Location>

Note pagespeed is set to OFF in common pagespeed file, I enable it on per site basis. 

Tried accessing the console from one of domains where pagespeed is enabled and get a 500 server error 
Debug trace on apache error log 
[Mon Jun 03 20:30:27 2013] [error] [client myip] 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.
[Mon Jun 03 20:30:27 2013] [debug] core.c(3072): [client myip] r->uri = /index.php
[Mon Jun 03 20:30:27 2013] [debug] core.c(3078): [client myip] redirected from r->uri = /index.php
[Mon Jun 03 20:30:27 2013] [debug] core.c(3078): [client myip] redirected from r->uri = /index.php
[Mon Jun 03 20:30:27 2013] [debug] core.c(3078): [client myip] redirected from r->uri = /index.php
[Mon Jun 03 20:30:27 2013] [debug] core.c(3078): [client myip] redirected from r->uri = /index.php
[Mon Jun 03 20:30:27 2013] [debug] core.c(3078): [client myip] redirected from r->uri = /index.php
[Mon Jun 03 20:30:27 2013] [debug] core.c(3078): [client myip] redirected from r->uri = /index.php
[Mon Jun 03 20:30:27 2013] [debug] core.c(3078): [client myip] redirected from r->uri = /index.php
[Mon Jun 03 20:30:27 2013] [debug] core.c(3078): [client myip] redirected from r->uri = /index.php
[Mon Jun 03 20:30:27 2013] [debug] core.c(3078): [client myip] redirected from r->uri = /index.php
[Mon Jun 03 20:30:27 2013] [debug] core.c(3078): [client myip] redirected from r->uri = /mod_pagespeed_console
[Mon Jun 03 20:30:27 2013] [debug] net/instaweb/apache/mod_instaweb.cc(400): [client myip] ModPagespeed OutputFilter called for request /index.php
[Mon Jun 03 20:30:27 2013] [debug] net/instaweb/apache/mod_instaweb.cc(421): [client myip] Request not rewritten because: request->status != 200 (was 500)
[Mon Jun 03 20:30:27 2013] [debug] mod_deflate.c(602): [client myip] Zlib: Compressed 545 to 329 : URL /index.php
[Mon Jun 03 20:30:28 2013] [debug] mod_headers.c(743): headers: ap_headers_output_filter()

Now query is whether I need to add /mod_pagespeed_console access in each virtual host file?
and what might be causing above redirects (Note the above site is wordpress based and has redirect settings)

Thanks
Hemant


Shawn Ligocki

unread,
Jun 4, 2013, 11:14:48 AM6/4/13
to Hemant Nandrajog, mod-pagespeed-beta-testers
That depends on your configuration. If you have enabled "ModPagespeedUsePerVHostStatistics on" then it is per-vhost, otherwise it is for the whole server together.



On Tue, Jun 4, 2013 at 11:07 AM, Hemant Nandrajog <nandrajo...@gmail.com> wrote:

On Wed, Jun 5, 2013 at 12:02 AM, Shawn Ligocki <slig...@google.com> wrote:
<Location /mod_pagespeed_console>
    <IfModule mod_rewrite.c>
        RewriteEngine Off
    </IfModule>
    Order allow,deny
    Allow from localhost
    Allow from 127.0.0.1
    SetHandler mod_pagespeed_console
</Location>

yes that works fine 

The stats/issue on the console page in current version are they for single domain or whole server together?

Thanks
Hemant

Reply all
Reply to author
Forward
0 new messages