]> granicus.if.org Git - apache/commitdiff
ErrorDocument may be used in .htaccess if AllowOverride is set "to Fileinfo"
authorVincent Deffontaines <gryzor@apache.org>
Sat, 27 Jun 2009 06:55:46 +0000 (06:55 +0000)
committerVincent Deffontaines <gryzor@apache.org>
Sat, 27 Jun 2009 06:55:46 +0000 (06:55 +0000)
rather than "accordingly".

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

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

index 971a05230462f0434903e8c2ee7eaffec9b1d4e4..c41e144a7fa6477ec83b66176ce6400814a2ef8a 100644 (file)
 <div class="toplang">
 <p><span>Available Languages: </span><a href="./en/custom-error.html" title="English">&nbsp;en&nbsp;</a> |
 <a href="./es/custom-error.html" hreflang="es" rel="alternate" title="Español">&nbsp;es&nbsp;</a> |
+<a href="./fr/custom-error.html" hreflang="fr" rel="alternate" title="Français">&nbsp;fr&nbsp;</a> |
 <a href="./ja/custom-error.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |
 <a href="./ko/custom-error.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a> |
 <a href="./tr/custom-error.html" hreflang="tr" rel="alternate" title="Türkçe">&nbsp;tr&nbsp;</a></p>
 </div>
 
-    <p>Additional functionality allows webmasters to configure the response 
+    <p>Additional functionality allows webmasters to configure the response
     of Apache to some error or problem.</p>
 
-    <p>Customizable responses can be defined to be activated in the event of 
+    <p>Customizable responses can be defined to be activated in the event of
     a server detected error or problem.</p>
 
-    <p>If a script crashes and produces a "500 Server Error" response, 
-    then this response can be replaced with either some friendlier text or by 
+    <p>If a script crashes and produces a "500 Server Error" response,
+    then this response can be replaced with either some friendlier text or by
     a redirection to another URL (local or external).</p>
   </div>
 <div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#behavior">Behavior</a></li>
@@ -47,8 +48,8 @@
     <h3>Old Behavior</h3>
       
 
-      <p>NCSA httpd 1.3 would return some boring old error/problem message 
-      which would often be meaningless to the user, and would provide no 
+      <p>NCSA httpd 1.3 would return some boring old error/problem message
+      which would often be meaningless to the user, and would provide no
       means of logging the symptoms which caused it.</p>
     
 
@@ -58,7 +59,7 @@
       <p>The server can be asked to:</p>
 
       <ol>
-        <li>Display some other text, instead of the NCSA hard coded 
+        <li>Display some other text, instead of the NCSA hard coded
         messages, or</li>
 
         <li>redirect to a local URL, or</li>
         <li>redirect to an external URL.</li>
       </ol>
 
-      <p>Redirecting to another URL can be useful, but only if some 
-      information can be passed which can then be used to explain and/or log 
+      <p>Redirecting to another URL can be useful, but only if some
+      information can be passed which can then be used to explain and/or log
       the error/problem more clearly.</p>
 
-      <p>To achieve this, Apache will define new CGI-like environment 
+      <p>To achieve this, Apache will define new CGI-like environment
       variables:</p>
 
       <div class="example"><p><code>
-        REDIRECT_HTTP_ACCEPT=*/*, image/gif, image/x-xbitmap, 
+        REDIRECT_HTTP_ACCEPT=*/*, image/gif, image/x-xbitmap,
             image/jpeg<br />
-        REDIRECT_HTTP_USER_AGENT=Mozilla/1.1b2 (X11; I; HP-UX A.09.05 
+        REDIRECT_HTTP_USER_AGENT=Mozilla/1.1b2 (X11; I; HP-UX A.09.05
             9000/712)<br />
         REDIRECT_PATH=.:/bin:/usr/local/bin:/etc<br />
         REDIRECT_QUERY_STRING=<br />
@@ -95,9 +96,9 @@
       new URL (assuming it's a cgi-script or a cgi-include). The
       other variables will exist only if they existed prior to
       the error/problem. <strong>None</strong> of these will be
-      set if your <code class="directive"><a href="./mod/core.html#errordocument">ErrorDocument</a></code> is an 
-      <em>external</em> redirect (anything starting with a 
-      scheme name like <code>http:</code>, even if it refers to the same host 
+      set if your <code class="directive"><a href="./mod/core.html#errordocument">ErrorDocument</a></code> is an
+      <em>external</em> redirect (anything starting with a
+      scheme name like <code>http:</code>, even if it refers to the same host
       as the server).</p>
     
   </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
 <h2><a name="configuration" id="configuration">Configuration</a></h2>
     
 
-    <p>Use of <code class="directive"><a href="./mod/core.html#errordocument">ErrorDocument</a></code> is enabled 
-    for .htaccess files when the 
-    <code class="directive"><a href="./mod/core.html#allowoverride">AllowOverride</a></code> is set accordingly.</p>
+    <p>Use of <code class="directive"><a href="./mod/core.html#errordocument">ErrorDocument</a></code> is enabled
+    for .htaccess files when the
+    <code class="directive"><a href="./mod/core.html#allowoverride">AllowOverride</a></code> is set to FileInfo.</p>
 
     <p>Here are some examples...</p>
 
 <div class="bottomlang">
 <p><span>Available Languages: </span><a href="./en/custom-error.html" title="English">&nbsp;en&nbsp;</a> |
 <a href="./es/custom-error.html" hreflang="es" rel="alternate" title="Español">&nbsp;es&nbsp;</a> |
+<a href="./fr/custom-error.html" hreflang="fr" rel="alternate" title="Français">&nbsp;fr&nbsp;</a> |
 <a href="./ja/custom-error.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |
 <a href="./ko/custom-error.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a> |
 <a href="./tr/custom-error.html" hreflang="tr" rel="alternate" title="Türkçe">&nbsp;tr&nbsp;</a></p>
index 01f0a813b50086a930aeec2a27c8eacb5f494ee7..3475337087be406e7890b38889661f092bb8b1c1 100644 (file)
   <title>Custom Error Responses</title>
 
   <summary>
-    <p>Additional functionality allows webmasters to configure the response 
+    <p>Additional functionality allows webmasters to configure the response
     of Apache to some error or problem.</p>
 
-    <p>Customizable responses can be defined to be activated in the event of 
+    <p>Customizable responses can be defined to be activated in the event of
     a server detected error or problem.</p>
 
-    <p>If a script crashes and produces a "500 Server Error" response, 
-    then this response can be replaced with either some friendlier text or by 
+    <p>If a script crashes and produces a "500 Server Error" response,
+    then this response can be replaced with either some friendlier text or by
     a redirection to another URL (local or external).</p>
   </summary>
 
@@ -42,8 +42,8 @@
     <section>
       <title>Old Behavior</title>
 
-      <p>NCSA httpd 1.3 would return some boring old error/problem message 
-      which would often be meaningless to the user, and would provide no 
+      <p>NCSA httpd 1.3 would return some boring old error/problem message
+      which would often be meaningless to the user, and would provide no
       means of logging the symptoms which caused it.</p>
     </section>
 
@@ -53,7 +53,7 @@
       <p>The server can be asked to:</p>
 
       <ol>
-        <li>Display some other text, instead of the NCSA hard coded 
+        <li>Display some other text, instead of the NCSA hard coded
         messages, or</li>
 
         <li>redirect to a local URL, or</li>
         <li>redirect to an external URL.</li>
       </ol>
 
-      <p>Redirecting to another URL can be useful, but only if some 
-      information can be passed which can then be used to explain and/or log 
+      <p>Redirecting to another URL can be useful, but only if some
+      information can be passed which can then be used to explain and/or log
       the error/problem more clearly.</p>
 
-      <p>To achieve this, Apache will define new CGI-like environment 
+      <p>To achieve this, Apache will define new CGI-like environment
       variables:</p>
 
       <example>
-        REDIRECT_HTTP_ACCEPT=*/*, image/gif, image/x-xbitmap, 
+        REDIRECT_HTTP_ACCEPT=*/*, image/gif, image/x-xbitmap,
             image/jpeg<br />
-        REDIRECT_HTTP_USER_AGENT=Mozilla/1.1b2 (X11; I; HP-UX A.09.05 
+        REDIRECT_HTTP_USER_AGENT=Mozilla/1.1b2 (X11; I; HP-UX A.09.05
             9000/712)<br />
         REDIRECT_PATH=.:/bin:/usr/local/bin:/etc<br />
         REDIRECT_QUERY_STRING=<br />
@@ -90,9 +90,9 @@
       new URL (assuming it's a cgi-script or a cgi-include). The
       other variables will exist only if they existed prior to
       the error/problem. <strong>None</strong> of these will be
-      set if your <directive module="core">ErrorDocument</directive> is an 
-      <em>external</em> redirect (anything starting with a 
-      scheme name like <code>http:</code>, even if it refers to the same host 
+      set if your <directive module="core">ErrorDocument</directive> is an
+      <em>external</em> redirect (anything starting with a
+      scheme name like <code>http:</code>, even if it refers to the same host
       as the server).</p>
     </section>
   </section>
   <section id="configuration">
     <title>Configuration</title>
 
-    <p>Use of <directive module="core">ErrorDocument</directive> is enabled 
-    for .htaccess files when the 
-    <directive module="core">AllowOverride</directive> is set accordingly.</p>
+    <p>Use of <directive module="core">ErrorDocument</directive> is enabled
+    for .htaccess files when the
+    <directive module="core">AllowOverride</directive> is set to FileInfo.</p>
 
     <p>Here are some examples...</p>