From e05a16be23d454df498d16882f8410539739d540 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Wed, 26 Apr 2006 22:32:40 +0000 Subject: [PATCH] move the server-status handler back to httpd.conf --- etc/alternc/apache.conf | 7 ------- etc/alternc/templates/apache/httpd.conf | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/etc/alternc/apache.conf b/etc/alternc/apache.conf index 6899b7f4..72005caa 100644 --- a/etc/alternc/apache.conf +++ b/etc/alternc/apache.conf @@ -10,13 +10,6 @@ ScriptAlias /cgi-bin/ /var/alternc/cgi-bin/ AddHandler cgi-script .cgi - - SetHandler server-status - Order deny,allow - Deny from all - Allow from %%monitor_ip%% - - # ***ALTERNC_ALIASES*** Alias /icons/ /usr/share/apache/icons/ diff --git a/etc/alternc/templates/apache/httpd.conf b/etc/alternc/templates/apache/httpd.conf index 052286ae..872b2bbf 100644 --- a/etc/alternc/templates/apache/httpd.conf +++ b/etc/alternc/templates/apache/httpd.conf @@ -238,6 +238,13 @@ AddDefaultCharset off + + SetHandler server-status + Order deny,allow + Deny from all + Allow from %%monitor_ip%% + + DirectoryIndex index.html index.htm index.shtml index.php3 index.php4 index.phtml index.php Include /etc/apache/conf.d/[^.#]*