]> granicus.if.org Git - apache/blob - docs/manual/mod/mod_request.html.en
mod_reqtimeout: Change the default to set some reasonable timeout values if loaded
[apache] / docs / manual / mod / mod_request.html.en
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
4         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
5               This file is generated from xml source: DO NOT EDIT
6         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
7       -->
8 <title>mod_request - Apache HTTP Server</title>
9 <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
10 <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
11 <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
12 <link href="../images/favicon.ico" rel="shortcut icon" /></head>
13 <body>
14 <div id="page-header">
15 <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p>
16 <p class="apache">Apache HTTP Server Version 2.3</p>
17 <img alt="" src="../images/feather.gif" /></div>
18 <div class="up"><a href="./"><img title="&lt;-" alt="&lt;-" src="../images/left.gif" /></a></div>
19 <div id="path">
20 <a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">HTTP Server</a> &gt; <a href="http://httpd.apache.org/docs/">Documentation</a> &gt; <a href="../">Version 2.3</a> &gt; <a href="./">Modules</a></div>
21 <div id="page-content">
22 <div id="preamble"><h1>Apache Module mod_request</h1>
23 <div class="toplang">
24 <p><span>Available Languages: </span><a href="../en/mod/mod_request.html" title="English">&nbsp;en&nbsp;</a> |
25 <a href="../tr/mod/mod_request.html" hreflang="tr" rel="alternate" title="Türkçe">&nbsp;tr&nbsp;</a></p>
26 </div>
27 <table class="module"><tr><th><a href="module-dict.html#Description">Description:</a></th><td>Filters to handle and make available HTTP request bodies</td></tr>
28 <tr><th><a href="module-dict.html#Status">Status:</a></th><td>Base</td></tr>
29 <tr><th><a href="module-dict.html#ModuleIdentifier">Module Identifier:</a></th><td>request_module</td></tr>
30 <tr><th><a href="module-dict.html#SourceFile">Source File:</a></th><td>mod_request.c</td></tr>
31 <tr><th><a href="module-dict.html#Compatibility">Compatibility:</a></th><td>Available in Apache 2.3 and later</td></tr></table>
32 </div>
33 <div id="quickview"><h3 class="directives">Directives</h3>
34 <ul id="toc">
35 <li><img alt="" src="../images/down.gif" /> <a href="#keptbodysize">KeptBodySize</a></li>
36 </ul>
37 </div>
38
39 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
40 <div class="directive-section"><h2><a name="KeptBodySize" id="KeptBodySize">KeptBodySize</a> <a name="keptbodysize" id="keptbodysize">Directive</a></h2>
41 <table class="directive">
42 <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Keep the request body instead of discarding it up to
43 the specified maximum size, for potential use by filters such as
44 mod_include.</td></tr>
45 <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>KeptBodySize <var>maximum size in bytes</var></code></td></tr>
46 <tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>KeptBodySize 0</code></td></tr>
47 <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>directory</td></tr>
48 <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Base</td></tr>
49 <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_request</td></tr>
50 </table>
51     <p>Under normal circumstances, request handlers such as the
52     default handler for static files will discard the request body
53     when it is not needed by the request handler. As a result,
54     filters such as mod_include are limited to making <code>GET</code> requests
55     only when including other URLs as subrequests, even if the
56     original request was a <code>POST</code> request, as the discarded
57     request body is no longer available once filter processing is
58     taking place.</p>
59
60     <p>When this directive has a value greater than zero, request
61     handlers that would otherwise discard request bodies will
62     instead set the request body aside for use by filters up to
63     the maximum size specified. In the case of the mod_include
64     filter, an attempt to <code>POST</code> a request to the static
65     shtml file will cause any subrequests to be <code>POST</code>
66     requests, instead of <code>GET</code> requests as before.</p>
67
68     <p>This feature makes it possible to break up complex web pages and
69     web applications into small individual components, and combine
70     the components and the surrounding web page structure together
71     using <code class="module"><a href="../mod/mod_include.html">mod_include</a></code>. The components can take the
72     form of CGI programs, scripted languages, or URLs reverse proxied
73     into the URL space from another server using
74     <code class="module"><a href="../mod/mod_proxy.html">mod_proxy</a></code>.</p>
75
76     <p><strong>Note:</strong> Each request set aside has to be set
77     aside in temporary RAM until the request is complete. As a result,
78     care should be taken to ensure sufficient RAM is available on the
79     server to support the intended load. Use of this directive
80     should be limited to where needed on targeted parts of your
81     URL space, and with the lowest possible value that is still big
82     enough to hold a request body.</p>
83
84     <p>If the request size sent by the client exceeds the maximum
85     size allocated by this directive, the server will return
86     <code>413 Request Entity Too Large</code>.</p>
87
88
89 <h3>See also</h3>
90 <ul>
91 <li><a href="mod_include.html">mod_include</a> documentation</li>
92 <li><a href="mod_auth_form.html">mod_auth_form</a> documentation</li>
93 </ul>
94 </div>
95 </div>
96 <div class="bottomlang">
97 <p><span>Available Languages: </span><a href="../en/mod/mod_request.html" title="English">&nbsp;en&nbsp;</a> |
98 <a href="../tr/mod/mod_request.html" hreflang="tr" rel="alternate" title="Türkçe">&nbsp;tr&nbsp;</a></p>
99 </div><div id="footer">
100 <p class="apache">Copyright 2011 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
101 <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div>
102 </body></html>