]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
If an errordocument-cgi responds a location header it should really
authorAndré Malo <nd@apache.org>
Fri, 4 Apr 2003 22:35:18 +0000 (22:35 +0000)
committerAndré Malo <nd@apache.org>
Fri, 4 Apr 2003 22:35:18 +0000 (22:35 +0000)
add a status header.

PR: 18332

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99216 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/custom-error.html.en
docs/manual/custom-error.xml

index 96bfa676a2bcbfab434378e71356abf6daf18fc7..2833fd5ca8877db5d7a0c40de1e9e556628f5db0 100644 (file)
       <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">
index c480a6c617b7f269edcbd75b0be0ba4dda45ce66..9ea20ef30f623042ec7537dde17fe83424be712c 100644 (file)
       <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>
\ No newline at end of file