diff options
author | Lars Eilebrecht <lars@apache.org> | 2009-02-21 18:07:01 +0100 |
---|---|---|
committer | Lars Eilebrecht <lars@apache.org> | 2009-02-21 18:07:01 +0100 |
commit | 77188b407d304875b4ddf08cfcb694b74f805d12 (patch) | |
tree | fd1e37a9607f96178718e8dd48366324568f553d /docs/manual/mod | |
parent | headers replaced by directives line 48 (diff) | |
download | apache2-77188b407d304875b4ddf08cfcb694b74f805d12.tar.xz apache2-77188b407d304875b4ddf08cfcb694b74f805d12.zip |
fix mod_disk_cache to support EnableSendfile.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@746541 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod')
-rw-r--r-- | docs/manual/mod/core.html.de | 6 | ||||
-rw-r--r-- | docs/manual/mod/core.html.en | 6 | ||||
-rw-r--r-- | docs/manual/mod/core.xml | 6 | ||||
-rw-r--r-- | docs/manual/mod/core.xml.de | 6 | ||||
-rw-r--r-- | docs/manual/mod/mod_disk_cache.html.en | 12 | ||||
-rw-r--r-- | docs/manual/mod/mod_disk_cache.xml | 12 |
6 files changed, 46 insertions, 2 deletions
diff --git a/docs/manual/mod/core.html.de b/docs/manual/mod/core.html.de index a153451eff..892e1fd70c 100644 --- a/docs/manual/mod/core.html.de +++ b/docs/manual/mod/core.html.de @@ -978,6 +978,12 @@ Dateien an den Client auszuliefern</td></tr> </span> </Directory> </code></p></div> + <p>Beachten Sie bitte, dass die verzeichnisbasierte und + .htaccess-Konfiguration von <code class="directive">EnableSendfile</code> + nicht vom <code class="module"><a href="../mod/mod_disk_cache.html">mod_disk_cache</a></code>-Modul unterstützt wird. + Nur die globale Konfiguration von <code class="directive">EnableSendfile</code> + wird vom Modul beachtet. + </p> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> diff --git a/docs/manual/mod/core.html.en b/docs/manual/mod/core.html.en index 8c3d7865c8..c4d8994b90 100644 --- a/docs/manual/mod/core.html.en +++ b/docs/manual/mod/core.html.en @@ -939,6 +939,12 @@ Locations</a></li> </span> </Directory> </code></p></div> + <p>Please note that the per-directory and .htaccess configuration + of <code class="directive">EnableSendfile</code> is not supported by + <code class="module"><a href="../mod/mod_disk_cache.html">mod_disk_cache</a></code>. + Only global definition of <code class="directive">EnableSendfile</code> + is taken into account by the module. + </p> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index c6b3aea437..fd172e34b4 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -900,6 +900,12 @@ Locations</a></seealso> </indent> </Directory> </example> + <p>Please note that the per-directory and .htaccess configuration + of <directive>EnableSendfile</directive> is not supported by + <module>mod_disk_cache</module>. + Only global definition of <directive>EnableSendfile</directive> + is taken into account by the module. + </p> </usage> </directivesynopsis> diff --git a/docs/manual/mod/core.xml.de b/docs/manual/mod/core.xml.de index 2d12e67350..129df5f836 100644 --- a/docs/manual/mod/core.xml.de +++ b/docs/manual/mod/core.xml.de @@ -925,6 +925,12 @@ Dateien an den Client auszuliefern</description> </indent> </Directory> </example> + <p>Beachten Sie bitte, dass die verzeichnisbasierte und + .htaccess-Konfiguration von <directive>EnableSendfile</directive> + nicht vom <module>mod_disk_cache</module>-Modul unterstützt wird. + Nur die globale Konfiguration von <directive>EnableSendfile</directive> + wird vom Modul beachtet. + </p> </usage> </directivesynopsis> diff --git a/docs/manual/mod/mod_disk_cache.html.en b/docs/manual/mod/mod_disk_cache.html.en index 136eace3d2..54966159d8 100644 --- a/docs/manual/mod/mod_disk_cache.html.en +++ b/docs/manual/mod/mod_disk_cache.html.en @@ -32,7 +32,7 @@ <h3>Summary</h3> <p><code class="module"><a href="../mod/mod_disk_cache.html">mod_disk_cache</a></code> implements a disk based storage - manager. It is primarily of use in conjunction + manager. It is primarily of use in conjunction with <code class="module"><a href="../mod/mod_cache.html">mod_cache</a></code>.</p> <p>Content is stored in and retrieved from the cache using URI based @@ -45,6 +45,16 @@ <p><code class="module"><a href="../mod/mod_disk_cache.html">mod_disk_cache</a></code> requires the services of <code class="module"><a href="../mod/mod_cache.html">mod_cache</a></code>.</p> </div> + <div class="note"><h3>Note:</h3> + <p><code class="module"><a href="../mod/mod_disk_cache.html">mod_disk_cache</a></code> uses the sendfile feature to + serve files from the cache when supported by the platform, and + when enabled with <code class="directive"><a href="../mod/core.html#enablesendfile">EnableSendfile</a></code>. + However, per-directory and .htaccess configuration of + <code class="directive"><a href="../mod/core.html#enablesendfile">EnableSendfile</a></code> are ignored my + <code class="module"><a href="../mod/mod_disk_cache.html">mod_disk_cache</a></code> as the corresponding settings are not + available to the module when a request is being served from the + cache.</p> + </div> </div> <div id="quickview"><h3 class="directives">Directives</h3> <ul id="toc"> diff --git a/docs/manual/mod/mod_disk_cache.xml b/docs/manual/mod/mod_disk_cache.xml index de3df92ed9..a2ae881d5d 100644 --- a/docs/manual/mod/mod_disk_cache.xml +++ b/docs/manual/mod/mod_disk_cache.xml @@ -30,7 +30,7 @@ <summary> <p><module>mod_disk_cache</module> implements a disk based storage - manager. It is primarily of use in conjunction + manager. It is primarily of use in conjunction with <module>mod_cache</module>.</p> <p>Content is stored in and retrieved from the cache using URI based @@ -43,6 +43,16 @@ <p><module>mod_disk_cache</module> requires the services of <module>mod_cache</module>.</p> </note> + <note><title>Note:</title> + <p><module>mod_disk_cache</module> uses the sendfile feature to + serve files from the cache when supported by the platform, and + when enabled with <directive module="core">EnableSendfile</directive>. + However, per-directory and .htaccess configuration of + <directive module="core">EnableSendfile</directive> are ignored my + <module>mod_disk_cache</module> as the corresponding settings are not + available to the module when a request is being served from the + cache.</p> + </note> </summary> <directivesynopsis> |