From 1ab7a9337a28b743379ca8d2a3c5d8339691da80 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Mon, 12 Jul 2010 15:19:14 +0000 Subject: Enable HTTPD mod_status in SSL-enabled configuration. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@963319 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/modules/http/httpd-ssl-conf | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/sca-cpp/trunk/modules/http/httpd-ssl-conf b/sca-cpp/trunk/modules/http/httpd-ssl-conf index f6082dea14..118ed708be 100755 --- a/sca-cpp/trunk/modules/http/httpd-ssl-conf +++ b/sca-cpp/trunk/modules/http/httpd-ssl-conf @@ -65,8 +65,22 @@ UseCanonicalName Off # Enable SSL Include conf/ssl-vhost.conf + +# Allow the server admin to view the server status + +SetHandler server-status +HostnameLookups on +Deny from All +Allow from localhost +Allow from $host +Require user admin + + +# Report extended server status +ExtendedStatus On + # Route all wiring through HTTPS SCAWiringServerName https://$host:$sslpport @@ -132,6 +146,7 @@ fi # Create test users for HTTP basic authentication $httpd_prefix/bin/htpasswd -bc $root/conf/httpd.passwd test test 2>/dev/null +$httpd_prefix/bin/htpasswd -b $root/conf/httpd.passwd admin admin 2>/dev/null $httpd_prefix/bin/htpasswd -b $root/conf/httpd.passwd foo foo 2>/dev/null $httpd_prefix/bin/htpasswd -b $root/conf/httpd.passwd bar bar 2>/dev/null -- cgit v1.2.3