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
This commit is contained in:
parent
20a36196a7
commit
1ab7a9337a
1 changed files with 15 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue