From 1598104e76fdfe3ce0edcbca1bc1095b37b0c148 Mon Sep 17 00:00:00 2001 From: Joshua Slive Date: Sun, 10 Nov 2002 20:31:16 +0000 Subject: [PATCH] Fix a couple problems with the EnableSendFile docs: 1. Add a line. 2. Mention SMB in addition to NFS. 3. Fix a couple small gramatical things. 4. is not a
 environment.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97475 13f79535-47bb-0310-9956-ffa450edef68
---
 docs/manual/mod/core.html.en | 20 +++++++++++---------
 docs/manual/mod/core.xml     | 19 +++++++++++--------
 2 files changed, 22 insertions(+), 17 deletions(-)

diff --git a/docs/manual/mod/core.html.en b/docs/manual/mod/core.html.en
index c6a4731cb20..d0a97ca302a 100644
--- a/docs/manual/mod/core.html.en
+++ b/docs/manual/mod/core.html.en
@@ -642,8 +642,9 @@ Location
to
               </a></th><td>server config, virtual host, directory, .htaccess</td></tr><tr><th><a href=Override: FileInfoStatus: CoreModule: - core -

This directive controls whether the httpd may use the sendfile + coreCompatibility: + Available in version 2.0.44 and later +

This directive controls whether httpd may use the sendfile support from the kernel to transmit file contents to the client. By default, when the handling of a request requires no access to the data within a file -- for example, when delivering a @@ -658,10 +659,11 @@ Location

to
     <ul>
     <li>Some platforms may have broken sendfile support that the build
     system did not detect, especially if the binaries were built on
-    another box and moved to such a machine with broken sendfile support.</li>
-    <li>With an NFS-mounted <code class=DocumentRoot, + another box and moved to such a machine with broken sendfile + support. +
  • With a network-mounted DocumentRoot (e.g., NFS or SMB), the kernel may be unable to serve the network file through - it's own cache.
  • + its own cache.

    For server configurations that are vulnerable to these problems, @@ -671,12 +673,12 @@ Location

    top

    ErrorDocument Directive

    Description: diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index b4b23f9c1fa..7e6bb715058 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -718,9 +718,10 @@ Location directory.htaccess FileInfo +Available in version 2.0.44 and later -

    This directive controls whether the httpd may use the sendfile +

    This directive controls whether httpd may use the sendfile support from the kernel to transmit file contents to the client. By default, when the handling of a request requires no access to the data within a file -- for example, when delivering a @@ -735,10 +736,12 @@ Location

    • Some platforms may have broken sendfile support that the build system did not detect, especially if the binaries were built on - another box and moved to such a machine with broken sendfile support.
    • -
    • With an NFS-mounted DocumentRoot, + another box and moved to such a machine with broken sendfile + support.
    • +
    • With a network-mounted DocumentRoot (e.g., NFS or SMB), the kernel may be unable to serve the network file through - it's own cache.
    • + its own cache.

    For server configurations that are vulnerable to these problems, @@ -748,12 +751,12 @@ Location EnableSendfile off -

    For NFS mounted files, this feature may be disabled explicitly for - the offending files by specifying:

    +

    For NFS or SMB mounted files, this feature may be disabled explicitly + for the offending files by specifying:

    - <Directory "/path-to-nfs-files"> - EnableSendfile off + <Directory "/path-to-nfs-files">
    + EnableSendfile off
    </Directory>
    -- 2.47.3