httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rbo...@apache.org
Subject svn commit: r1724294 - /httpd/mod_fcgid/trunk/docs/manual/mod/mod_fcgid.xml
Date Tue, 12 Jan 2016 17:57:00 GMT
Author: rbowen
Date: Tue Jan 12 17:57:00 2016
New Revision: 1724294

URL: http://svn.apache.org/viewvc?rev=1724294&view=rev
Log:
Clarify the relationship between fcgid and custom error docs. Patch from
Luca Toscano, bz 58771

Modified:
    httpd/mod_fcgid/trunk/docs/manual/mod/mod_fcgid.xml

Modified: httpd/mod_fcgid/trunk/docs/manual/mod/mod_fcgid.xml
URL: http://svn.apache.org/viewvc/httpd/mod_fcgid/trunk/docs/manual/mod/mod_fcgid.xml?rev=1724294&r1=1724293&r2=1724294&view=diff
==============================================================================
--- httpd/mod_fcgid/trunk/docs/manual/mod/mod_fcgid.xml (original)
+++ httpd/mod_fcgid/trunk/docs/manual/mod/mod_fcgid.xml Tue Jan 12 17:57:00 2016
@@ -211,6 +211,22 @@
     </ul>
 
   </section>
+  
+  <section id="errordocuments">
+    <title>Fcgid and Apache ErrorDocument</title>
+    <p>The core directive <directive module="core">ErrorDocument</directive>
allows the user to specify custom error pages
+       for specific HTTP error codes. An important note must be made: if the error 
+       page is generated by the fastcgi script, <code>mod_fcgid</code> will
+       pass the response down to the output filter chain bypassing the Apache's 
+       ErrorDocuments. Conversely, if the error is generated by Apache itself (for example,
a HTTP 404
+       due to a missing resource) then the ErrorDocument set will be used. 
+       This behaviour is the most conservative one to interfere as little as
+       possible with the fastcgi's response generation logic. <code>mod_proxy</code>
shows the same 
+       behaviour but it offers <directive module="mod_proxy">ProxyErrorOverride</directive>

+       to force the use of ErrorDocuments, meanwhile <code>mod_fcgid</code> does
not. 
+       A common workaround is to instruct the fcgi script to generate the ErrorDocuments
+       to have full control of the response content.</p>
+  </section>
 
   <section id="examples">
     <title>Examples</title>



Mime
View raw message