From b07f87a11bbf1467e4acf1b79135f493f81dc1ef Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Tue, 29 May 2012 07:37:39 +0000 Subject: 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 --- sca-cpp/trunk/modules/http/httpd-ssl-conf | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'sca-cpp/trunk/modules/http/httpd-ssl-conf') 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] @@ -183,6 +186,12 @@ SSLProxyVerify require SSLProxyVerifyDepth 1 SSLProxyCheckPeerCN Off +# Enable server status + +SetHandler server-status +HostnameLookups on + + EOF # Generate tracking configuration -- cgit v1.2.3