From 2d73791e1d6fe81a262df6ffcc06875462d585b7 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Mon, 13 Jun 2011 07:57:39 +0000 Subject: Add the ability to configure page headers and footers. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1135049 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/modules/http/httpd-conf | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'sca-cpp/trunk/modules/http/httpd-conf') diff --git a/sca-cpp/trunk/modules/http/httpd-conf b/sca-cpp/trunk/modules/http/httpd-conf index 199eec8301..769211a125 100755 --- a/sca-cpp/trunk/modules/http/httpd-conf +++ b/sca-cpp/trunk/modules/http/httpd-conf @@ -123,19 +123,16 @@ AuthType None Require all granted -# Enable compression +# Configure output filters to enable compression and rate limiting -SetOutputFilter DEFLATE +SetOutputFilter RATE_LIMIT;DEFLATE + BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4\.0[678] no-gzip BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary Header append Vary User-Agent env=!dont-vary - -# Enable per client bandwidth rate limt - -SetOutputFilter RATE_LIMIT SetEnv rate-limit 400 -- cgit v1.2.3