diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2012-05-29 07:37:39 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2012-05-29 07:37:39 +0000 |
commit | b07f87a11bbf1467e4acf1b79135f493f81dc1ef (patch) | |
tree | 5b080012e1c3035ccb756570e520547075b1a56d /sca-cpp/trunk/modules/http/httpd-ssl-conf | |
parent | 5e4d9643105ac1ab5eac3696f8a6e120fc70684e (diff) |
Fix server config of server-status and proxy balancer-manager pages.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1343580 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/modules/http/httpd-ssl-conf')
-rwxr-xr-x | sca-cpp/trunk/modules/http/httpd-ssl-conf | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sca-cpp/trunk/modules/http/httpd-ssl-conf b/sca-cpp/trunk/modules/http/httpd-ssl-conf index b5f82d9690..3cb90d61e0 100755 --- a/sca-cpp/trunk/modules/http/httpd-ssl-conf +++ b/sca-cpp/trunk/modules/http/httpd-ssl-conf @@ -71,6 +71,9 @@ ServerName https://$host$sslpportsuffix RewriteEngine on RewriteCond %{HTTP_HOST} !^$host [NC] RewriteCond %{HTTP:X-Forwarded-Server} ^$ [NC] +RewriteCond %{REQUEST_URI} !^/server-status [NC] +RewriteCond %{REQUEST_URI} !^/balancer-manager [NC] +RewriteCond %{REQUEST_URI} !^/proxy/ [NC] RewriteRule .* https://$host$sslpportsuffix%{REQUEST_URI} [R] </Location> @@ -183,6 +186,12 @@ SSLProxyVerify require SSLProxyVerifyDepth 1 SSLProxyCheckPeerCN Off +# Enable server status +<Location /server-status> +SetHandler server-status +HostnameLookups on +</Location> + EOF # Generate tracking configuration |