httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n.@apache.org
Subject cvs commit: httpd-2.0/docs/manual custom-error.html.en custom-error.xml
Date Fri, 04 Apr 2003 22:41:17 GMT
nd          2003/04/04 14:41:17

  Modified:    docs/manual Tag: APACHE_2_0_BRANCH custom-error.html.en
                        custom-error.xml
  Log:
  If an errordocument-cgi responds a location header it should really
  add a status header.
  
  PR: 18332
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.18.2.2  +6 -0      httpd-2.0/docs/manual/custom-error.html.en
  
  Index: custom-error.html.en
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/custom-error.html.en,v
  retrieving revision 1.18.2.1
  retrieving revision 1.18.2.2
  diff -u -r1.18.2.1 -r1.18.2.2
  --- custom-error.html.en	11 Dec 2002 22:27:01 -0000	1.18.2.1
  +++ custom-error.html.en	4 Apr 2003 22:41:17 -0000	1.18.2.2
  @@ -178,6 +178,12 @@
         <p>If the script is dedicated to handling a particular error
         condition, such as <code>404 Not Found</code>, it can
         use the specific code and error text instead.</p>
  +
  +      <p>Note that the script <em>must</em> emit an appropriate
  +      <code>Status:</code> header (such as <code>302 Found</code>),
if the
  +      response contains a <code>Location:</code> header (in order to issue
a
  +      client side redirect). Otherwise the <code>Location:</code> header may
  +      have no effect.</p>
       
     </div></div>
   <div id="footer">
  
  
  
  1.1.2.1   +6 -0      httpd-2.0/docs/manual/custom-error.xml
  
  Index: custom-error.xml
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/custom-error.xml,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  --- custom-error.xml	8 Sep 2002 22:45:05 -0000	1.1
  +++ custom-error.xml	4 Apr 2003 22:41:17 -0000	1.1.2.1
  @@ -164,6 +164,12 @@
         <p>If the script is dedicated to handling a particular error
         condition, such as <code>404&nbsp;Not&nbsp;Found</code>, it can
         use the specific code and error text instead.</p>
  +
  +      <p>Note that the script <em>must</em> emit an appropriate
  +      <code>Status:</code> header (such as <code>302&nbsp;Found</code>),
if the
  +      response contains a <code>Location:</code> header (in order to issue
a
  +      client side redirect). Otherwise the <code>Location:</code> header may
  +      have no effect.</p>
       </section>
     </section>
   </manualpage>
  
  
  

Mime
View raw message