PDA

View Full Version : mod_status gone?



truenegative
12-26-2010, 08:59 AM
I recently updated apache using custombuild, and now my mod_status doesn't work. It gives a 500 internal server error. The apache error_log says that it has been redirected too many times. Any thoughts?



[Sun Dec 26 11:49:15 2010] [debug] core.c(3065): [client XXX.XXX.XXX.XXX] r->uri = /index.php
[Sun Dec 26 11:49:15 2010] [debug] core.c(3071): [client XXX.XXX.XXX.XXX] redirected from r->uri = /index.php
[Sun Dec 26 11:49:15 2010] [debug] core.c(3071): [client XXX.XXX.XXX.XXX] redirected from r->uri = /index.php
[Sun Dec 26 11:49:15 2010] [debug] core.c(3071): [client XXX.XXX.XXX.XXX] redirected from r->uri = /index.php
[Sun Dec 26 11:49:15 2010] [debug] core.c(3071): [client XXX.XXX.XXX.XXX] redirected from r->uri = /index.php
[Sun Dec 26 11:49:15 2010] [debug] core.c(3071): [client XXX.XXX.XXX.XXX] redirected from r->uri = /index.php
[Sun Dec 26 11:49:15 2010] [debug] core.c(3071): [client XXX.XXX.XXX.XXX] redirected from r->uri = /index.php
[Sun Dec 26 11:49:15 2010] [debug] core.c(3071): [client XXX.XXX.XXX.XXX] redirected from r->uri = /index.php
[Sun Dec 26 11:49:15 2010] [debug] core.c(3071): [client XXX.XXX.XXX.XXX] redirected from r->uri = /index.php
[Sun Dec 26 11:49:15 2010] [debug] core.c(3071): [client XXX.XXX.XXX.XXX] redirected from r->uri = /index.php
[Sun Dec 26 11:49:15 2010] [debug] core.c(3071): [client XXX.XXX.XXX.XXX] redirected from r->uri = /server-status/
[Sun Dec 26 11:49:15 2010] [error] [client XXX.XXX.XXX.XXX] 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.

Richard G
12-26-2010, 09:21 AM
What kind of upgrade did you do? A normal upgrade, v2.x to another v2.x or v1.x to v2.x?

If it's the last kind of upgrade. Which redirection settings are you using?

truenegative
12-26-2010, 09:42 AM
Just did a basic upgrade... 2.2.X to the latest. IIRC it was like 2.2.13 to 2.2.17

Richard G
12-26-2010, 10:29 AM
Strange, that should give no problems normally.

Maybe the rewrite you made (if you didn't only use the standard one in httpd.conf) could give the trouble. However, I'm not very good in rewrite stuff.

tomtom901
12-26-2010, 10:40 AM
I'd say it's some kind of .htaccess RewriteRule loop, but I'll check my Server-Status later today and post my .htaccess. You might give that a try.

truenegative
12-26-2010, 06:21 PM
I don't have an .htaccess relating to mod_status because it's a httpd conf file....


<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from XXX.XXX.XXX.XXX
</Location>

Richard G
12-27-2010, 09:46 AM
If you are running directadmin...
Dit you included it like this:
Include /etc/httpd/conf/extra/httpd-info.conf
or is it in your httpd.conf itself?

If it's in your httpd.conf, check if you don't have an inclusion like:
Include /etc/httpd/conf/extra/*.conf
or something like that present too.

But I guess this is not the case, the inclusion you quoted is ok. Mine is the same.

truenegative
12-27-2010, 12:07 PM
I'm running DA with no extra changes made except for putting my IP address in there...