You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2014/04/23 16:05:39 UTC

svn commit: r1589417 - in /httpd/httpd/branches/2.4.x: ./ docs/manual/mod/mod_proxy_scgi.xml

Author: trawick
Date: Wed Apr 23 14:05:39 2014
New Revision: 1589417

URL: http://svn.apache.org/r1589417
Log:
Merge 1589413 from trunk:

tweaks to grammar and markup

Modified:
    httpd/httpd/branches/2.4.x/   (props changed)
    httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_scgi.xml

Propchange: httpd/httpd/branches/2.4.x/
------------------------------------------------------------------------------
  Merged /httpd/httpd/trunk:r1589413

Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_scgi.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_scgi.xml?rev=1589417&r1=1589416&r2=1589417&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_scgi.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_scgi.xml Wed Apr 23 14:05:39 2014
@@ -1,4 +1,4 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.en.xsl"?>
 <!-- $LastChangedRevision$ -->
@@ -104,10 +104,10 @@ header</description>
 
 <usage>
     <p>The <directive>ProxySCGISendfile</directive> directive enables the
-    SCGI backend to let files serve directly by the gateway. This is useful
-    performance purposes -- the httpd can use <code>sendfile</code> or other
+    SCGI backend to let files be served directly by the gateway. This is useful
+    for performance purposes &mdash; httpd can use <code>sendfile</code> or other
     optimizations, which are not possible if the file comes over the backend
-    socket.</p>
+    socket.  Additionally, the file contents are not transmitted twice.</p>
     <p>The <directive>ProxySCGISendfile</directive> argument determines the
     gateway behaviour:</p>
     <dl>
@@ -116,22 +116,22 @@ header</description>
 
     <dt><code>On</code></dt>
     <dd>The gateway looks for a backend response header called
-    <code>X-Sendfile</code> and interprets the value as filename to serve. The
-    header is removed from the final response headers. This is equivalent to
+    <code>X-Sendfile</code> and interprets the value as the filename to serve.
+    The  header is removed from the final response headers. This is equivalent to
     <code>ProxySCGISendfile X-Sendfile</code>.</dd>
 
     <dt>anything else</dt>
     <dd>Similar to <code>On</code>, but instead of the hardcoded header name
-    the argument is applied as header name.</dd>
+    <code>X-Sendfile</code>, the argument is used as the header name.</dd>
     </dl>
 
     <example><title>Example</title>
     <highlight language="config">
-    # Use the default header (X-Sendfile)
-    ProxySCGISendfile On
+# Use the default header (X-Sendfile)
+ProxySCGISendfile On
     
-    # Use a different header
-    ProxySCGISendfile X-Send-Static
+# Use a different header
+ProxySCGISendfile X-Send-Static
     </highlight>
     </example>
 </usage>
@@ -149,11 +149,11 @@ backend</description>
 <usage>
     <p>The <directive>ProxySCGIInternalRedirect</directive> enables the backend
     to internally redirect the gateway to a different URL. This feature
-    origins in <module>mod_cgi</module>, which internally redirects the
-    response, if the response status is <code>OK</code> (<code>200</code>) and
+    originates in <module>mod_cgi</module>, which internally redirects the
+    response if the response status is <code>OK</code> (<code>200</code>) and
     the response contains a <code>Location</code> header and its value starts
     with a slash (<code>/</code>). This value is interpreted as a new local
-    URL the apache internally redirects to.</p>
+    URL that Apache httpd internally redirects to.</p>
 
     <p><module>mod_proxy_scgi</module> does the same as
     <module>mod_cgi</module> in this regard, except that you can turn off the