Author: jsdelfino
Date: Mon Jul 12 15:19:14 2010
New Revision: 963319
URL: http://svn.apache.org/viewvc?rev=963319&view=rev
Log:
Enable HTTPD mod_status in SSL-enabled configuration.
Modified:
tuscany/sca-cpp/trunk/modules/http/httpd-ssl-conf
Modified: tuscany/sca-cpp/trunk/modules/http/httpd-ssl-conf
URL:
http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/modules/http/httpd-ssl-conf?rev=963319&r1=963318&r2=963319&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/modules/http/httpd-ssl-conf (original)
+++ tuscany/sca-cpp/trunk/modules/http/httpd-ssl-conf Mon Jul 12 15:19:14 2010
@@ -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