From 68cb91097b75a92237bd90caffcd405c3e83cb53 Mon Sep 17 00:00:00 2001 From: Tom Fifield Date: Fri, 28 Jun 2013 13:55:38 +1000 Subject: [PATCH] docfix apache2 now supports client chunked encodin As reported in the documentation bug, the apache deployment guide's reference to apache2 mod_wsgi not supporting client chunked encoding has become outdated. It now supports this feature, using an optional parameter. Updated the paragraph in question to reflect this patchset 2 mentions the WSGIChunkedRequest variable and adds it to the sample configs - On by default. Feedback welcome fixes bug 1194935 Change-Id: I07c5c8506ac34e1e0e08fa6d961babde2f9b7367 --- doc/source/apache_deployment_guide.rst | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/doc/source/apache_deployment_guide.rst b/doc/source/apache_deployment_guide.rst index bdf0546876..d6340a784b 100644 --- a/doc/source/apache_deployment_guide.rst +++ b/doc/source/apache_deployment_guide.rst @@ -26,9 +26,10 @@ client<---->'Apache2 with mod_wsgi'<----->middleware<---->'core swift' The integral web front-end offers simplicity and requires minimal configuration. It is also the web front-end most commonly used with Swift. -Additionlly, the integral web front-end includes support for -receiving chunked transfer encoding from a client, -presently not supported by Apache2 in the operation mode described here. + +The integral web front-end has built-in support for handling client requests +with chunked transfer encoding. Apache 2 with mod_wsgi also supports this +with an optional configuration parameter - WSGIChunkedRequest. The use of Apache2 offers new ways to extend Swift and integrate it with existing authentication, administration and control systems. @@ -102,6 +103,7 @@ For example an Apache2 serving as a web front end of a proxy service:: WSGIDaemonProcess proxy-server processes=5 threads=1 WSGIProcessGroup proxy-server WSGIScriptAlias / /var/www/swift/proxy-server.wsgi + WSGIChunkedRequest On LimitRequestFields 200 ErrorLog /var/log/apache2/proxy-server LogLevel debug @@ -124,6 +126,7 @@ For example an Apache2 serving as a web front end of a storage node:: WSGIDaemonProcess object-server processes=5 threads=1 WSGIProcessGroup object-server WSGIScriptAlias / /var/www/swift/object-server.wsgi + WSGIChunkedRequest On LimitRequestFields 200 ErrorLog /var/log/apache2/object-server LogLevel debug @@ -138,6 +141,7 @@ For example an Apache2 serving as a web front end of a storage node:: WSGIDaemonProcess container-server processes=5 threads=1 WSGIProcessGroup container-server WSGIScriptAlias / /var/www/swift/container-server.wsgi + WSGIChunkedRequest On LimitRequestFields 200 ErrorLog /var/log/apache2/container-server LogLevel debug @@ -152,6 +156,7 @@ For example an Apache2 serving as a web front end of a storage node:: WSGIDaemonProcess account-server processes=5 threads=1 WSGIProcessGroup account-server WSGIScriptAlias / /var/www/swift/account-server.wsgi + WSGIChunkedRequest On LimitRequestFields 200 ErrorLog /var/log/apache2/account-server LogLevel debug