From 0a5460202826108078a293fa4a9156264886ad11 Mon Sep 17 00:00:00 2001 From: Clint Armstrong Date: Thu, 25 Jun 2015 08:01:05 -0400 Subject: [PATCH] Do not rewrite server-status Currently users cannot use the check_mk apache plugin to monitor the apache instance that is running librenms. Excluding server-status from the rewrite rules allows users to use mod_status. --- html/.htaccess | 1 + 1 file changed, 1 insertion(+) diff --git a/html/.htaccess b/html/.htaccess index 0b7faa983b..44bd1687d2 100644 --- a/html/.htaccess +++ b/html/.htaccess @@ -9,6 +9,7 @@ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !\.(js|ico|txt|gif|jpg|png|css|php) RewriteRule ^api/v0(.*)$ api_v0.php/$1 [L] +RewriteCond %{REQUEST_URI} !=/server-status RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !\.(js|ico|txt|gif|jpg|png|css|php)