summaryrefslogtreecommitdiffstats
path: root/sca-cpp
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-07-12 15:19:14 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-07-12 15:19:14 +0000
commit1ab7a9337a28b743379ca8d2a3c5d8339691da80 (patch)
tree77425d18bd1257fe5b30f6e0bc094e7f26ef0694 /sca-cpp
parent20a36196a7aad4f863dbc4969ff648bcbc187a02 (diff)
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
Diffstat (limited to 'sca-cpp')
-rwxr-xr-xsca-cpp/trunk/modules/http/httpd-ssl-conf15
1 files changed, 15 insertions, 0 deletions
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
+<Location /server-status>
+SetHandler server-status
+HostnameLookups on
+Deny from All
+Allow from localhost
+Allow from $host
+Require user admin
+</Location>
+
</VirtualHost>
+# 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