From: Rainer Jung Date: Thu, 2 Oct 2014 11:49:43 +0000 (+0000) Subject: Add docs for new directive SubstituteMaxLineLength X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=633b9479fa4c24b47436caf7089c7a0857fd2fe2;p=thirdparty%2Fapache%2Fhttpd.git Add docs for new directive SubstituteMaxLineLength in mod_substitute. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1628950 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_substitute.xml b/docs/manual/mod/mod_substitute.xml index 1250d921275..20cea14b4bb 100644 --- a/docs/manual/mod/mod_substitute.xml +++ b/docs/manual/mod/mod_substitute.xml @@ -129,4 +129,37 @@ Substitute "s|http://internal.blog.example.com/|http://www.example.com/blog/|i" + +SubstituteMaxLineLength +Set the maximum line size +SubstituteMaxLineLength bytes(b|B|k|K|m|M|g|G) +SubstituteMaxLineLength 1m +directory +.htaccess +FileInfo +Available in httpd 2.5-dev and later + + +

The maximum line size handled by mod_substitute + is limited to restrict memory use. The limit can be configured + using SubstituteMaxLineLength. + The value can be given as the number of bytes and can be suffixed + with a single letter b, B, k, + K, m, M, g, + G to provide the size in bytes, kilobytes, megabytes + or gigabytes respectively.

+ + Example + +<Location /> + AddOutputFilterByType SUBSTITUTE text/html + SubstituteMaxLineLength 10m + Substitute s/foo/bar/ni +</Location> + + + +
+
+