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/[^.#]*