Getting apache mod_status and mod_info to play nicely with wordpress…..
Posted on 15:15, February 17th, 2012 by Many Ayromlou
After reading many (too many) posts about this subject that did not work, I finally found a way to get this working. If you have a wordpress site setup you will, at some point during the installation, be told to copy a bunch of “redirect” code to your .htaccess file in your wordpress installation folder. These apache redirects take care of making pretty URL’s and permalinks amongst other things. The problem is that these .htaccess rules in wordpress take over server-info and server-status urls activated in apache’s config and return a page not found error.
I came across numerous sites that suggested adding a rule like:
This didn’t work for me. I’m not sure if the multisite version of wordpress (which I’m using) is causing this. The rule that worked beautifully is the following:
This rule stops the rewrite engine whenever server-info or server-status is parsed as part of the URL. So my .htaccess looks like this now:
2 Responses to “Getting apache mod_status and mod_info to play nicely with wordpress…..”
Leave a Reply
You must be logged in to post a comment.