diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2012-05-28 16:49:36 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2012-05-28 16:49:36 +0000 |
commit | a7a8f4f9c9bbbd3bd16605235440dec29f581ad7 (patch) | |
tree | f01ccb8694da3d6207302a09eac725094b243d3f /sca-cpp/trunk/modules/http/httpd-conf | |
parent | 7519724a171bb85246bb86bce453cbdd408691d9 (diff) |
Improvements to the hosted composite management app. Simplify and optimize the Web UI a bit. Add test cases and fix some of the logic in the management components.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1343316 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/modules/http/httpd-conf')
-rwxr-xr-x | sca-cpp/trunk/modules/http/httpd-conf | 36 |
1 files changed, 8 insertions, 28 deletions
diff --git a/sca-cpp/trunk/modules/http/httpd-conf b/sca-cpp/trunk/modules/http/httpd-conf index 74b3944cc1..5b034c7928 100755 --- a/sca-cpp/trunk/modules/http/httpd-conf +++ b/sca-cpp/trunk/modules/http/httpd-conf @@ -35,8 +35,6 @@ else pportsuffix=":$pport" fi -dothost=`echo $host | grep "\."` - mkdir -p $4 htdocs=`echo "import os; print os.path.realpath('$4')" | python` @@ -83,12 +81,9 @@ HostNameLookups Off # [timestamp] [access] remote-host remote-ident remote-user "request-line" # status response-size "referrer" "user-agent" "user-track" local-IP # virtual-host response-time bytes-received bytes-sent -LogFormat "[%{%a %b %d %H:%M:%S %Y}t] [access] %h %l %u \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\" \"%{cookie}n\" %A %V %D %I %O" combined +LogFormat "[%{%a %b %d %H:%M:%S %Y}t] [access] %h %l %u \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\" \"%{cookie}n\" %A %V %D %I %O %{mod_security-message}i" combined Include conf/log.conf -# Configure tracking -Include conf/tracking.conf - # Configure Mime types and default charsets TypesConfig $here/conf/mime.types AddDefaultCharset utf-8 @@ -116,7 +111,8 @@ Require all denied # Configure output filters to enable compression and rate limiting <Location /> -SetOutputFilter RATE_LIMIT;DEFLATE +#SetOutputFilter RATE_LIMIT;DEFLATE +SetOutputFilter DEFLATE BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4\.0[678] no-gzip @@ -125,7 +121,7 @@ BrowserMatch ^check_http/ check_http SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary Header append Vary User-Agent env=!dont-vary -SetEnv rate-limit 400 +#SetEnv rate-limit 400 </Location> # Listen on HTTP port @@ -165,26 +161,6 @@ Include conf/adminauth.conf EOF -# Generate tracking configuration -cat >$root/conf/tracking.conf <<EOF -# Generated by: httpd-conf $* -# Configure tracking -CookieTracking on -CookieName TuscanyVisitorId -CookieStyle Cookie -CookieExpires 31556926 - -EOF - -if [ "$dothost" != "" ]; then - cat >>$root/conf/tracking.conf <<EOF -# Generated by: httpd-conf $* -CookieDomain .$dothost - -EOF - -fi - # Configure logging cat >$root/conf/log.conf <<EOF # Generated by: httpd-conf $* @@ -303,6 +279,10 @@ Require all granted AuthType None Require all granted </Location> +<Location /proxy/public> +AuthType None +Require all granted +</Location> <Location /favicon.ico> AuthType None Require all granted |