mod_status results in 404 page not found in drupal


with default config, you get 404 when accessing http://localhost/server-status with mod_status enabled.

Try adding:

 

RewriteCond %{REQUEST_URI} !=/server-status

to .htaccess. i.e. only do the rewrite thing if request isn't for server-status. so your .htaccess would look like this:

# Pass all requests not referring directly to files in the filesystem to

# index.php. Clean URLs are handled in drupal_environment_initialize().

RewriteCond %{REQUEST_FILENAME} !-f

#  RewriteCond %{REQUEST_FILENAME} !-d

RewriteCond %{REQUEST_URI} !=/favicon.ico

RewriteCond %{REQUEST_URI} !=/server-status

RewriteRule ^ index.php [L]