httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n.@apache.org
Subject cvs commit: httpd-docs-1.3/htdocs/manual/mod mod_mime.html.en
Date Fri, 14 Feb 2003 23:46:48 GMT
nd          2003/02/14 15:46:48

  Modified:    htdocs/manual/mod mod_mime.html.en
  Log:
  SetHandler None and ForceType None already exist in 1.3.
  
  hint found in ciwsu
  
  Revision  Changes    Path
  1.51      +20 -2     httpd-docs-1.3/htdocs/manual/mod/mod_mime.html.en
  
  Index: mod_mime.html.en
  ===================================================================
  RCS file: /home/cvs/httpd-docs-1.3/htdocs/manual/mod/mod_mime.html.en,v
  retrieving revision 1.50
  retrieving revision 1.51
  diff -u -r1.50 -r1.51
  --- mod_mime.html.en	14 Feb 2003 23:09:42 -0000	1.50
  +++ mod_mime.html.en	14 Feb 2003 23:46:48 -0000	1.51
  @@ -418,7 +418,7 @@
       directive</h2>
       <a href="directive-dict.html#Syntax"
       rel="Help"><strong>Syntax:</strong></a> ForceType
  -    <em>media-type</em><br />
  +    <em>media-type</em>|None<br />
        <a href="directive-dict.html#Context"
       rel="Help"><strong>Context:</strong></a> directory,
       .htaccess<br />
  @@ -443,6 +443,21 @@
       <p>Note that this will override any filename extensions that
       might determine the media type.</p>
   
  +    <p>You can override any <directive>ForceType</directive> setting
  +    by using the value of <code>none</code>:</p>
  +
  +<pre>
  +    # force all files to be image/gif:
  +    &lt;Location /images&gt;
  +      ForceType image/gif
  +    &lt;/Location&gt;
  +
  +    # but normal mime-type associations here:
  +    &lt;Location /images/mixed&gt;
  +      ForceType none
  +    &lt;/Location&gt;
  +</pre>
  +
       <p><strong>See also</strong>: <a
       href="#addtype">AddType</a></p>
   
  @@ -583,7 +598,7 @@
       directive</h2>
       <a href="directive-dict.html#Syntax"
       rel="Help"><strong>Syntax:</strong></a> SetHandler
  -    <em>handler-name</em><br />
  +    <em>handler-name</em>|None<br />
        <a href="directive-dict.html#Context"
       rel="Help"><strong>Context:</strong></a> directory,
       .htaccess<br />
  @@ -617,6 +632,9 @@
       SetHandler server-status
       &lt;/Location&gt;
   </pre>
  +
  +    <p>You can override an earlier defined <code>SetHandler</code>
  +    directive by using the value <code>None</code>.</p>
   
       <p><strong>See also</strong>: <a href="#addhandler">AddHandler</a></p>
       <hr />
  
  
  

Mime
View raw message