Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On a CentOS 6 web server with Wordpress installed in /var/www/html/wordpress, and using PageSpeed for caching, I cannot access the /pagespeed_console through the web browser.

I only get a 503 error.

Searching through the httpd /var/log/httpd/error_log shows, "LimitInternalRecursion".


"GET /pagespeed_console HTTP/1.1" 500 395 "-" 
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1)
 AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36"


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.
share|improve this question
You didn't provide nearly enough information for us to help you. Some obvious things that are missing from the question are: the error message (it's not nearly long enough to justify linking to pastebin); your Apache virtual host configuration and .htaccess file; perhaps a description of exactly what you installed and how. – Michael Hampton Feb 18 '14 at 13:11
You should follow the instructions in the error log (Use 'LogLevel debug' to get a backtrace.) and debug your broken redirect - Or if you want us to help you do that at least show us the broken redirect from your configuration file... – voretaq7 Feb 19 '14 at 17:23
Here is the debug output for the rewrite log: and the www.conf: – Twitch Feb 19 '14 at 20:26

your rewrite rule is colliding and generating an internal redirect massacre.

just add another condition to it so that /pagespeed_console is not rewritten.

 <IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteBase /
        RewriteRule ^index\.php$ - [L]
        RewriteRule ^server-status$ - [L]
        # do not parse mod_pagespeed URIs
        RewriteCond %{REQUEST_URI} !^/mod_pagespeed_[a-z_]+$
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule . /index.php [L]
share|improve this answer
up vote 0 down vote accepted

The problem was with SELinux for CentOS.

Type the following on the CLI: chcon -R -t httpd_sys_content_t /var/cache/mod_pagespeed

Instructions are listed in the section "Why do I get Permission denied errors in my log file on CentOS, RHEL, or any system using SELinux?" at

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.