Commit b3cd6364 authored by Richard Bowen's avatar Richard Bowen
Browse files

Adds an example using multiple file extensions, to answer a

frequently-asked (IRC) question that came up yet again today.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@541685 13f79535-47bb-0310-9956-ffa450edef68
parent bf017abd
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -507,6 +507,12 @@ type</td></tr>
      AddType image/gif .gif
    </code></p></div>

    <p>Or, to specify multiple file extensions in one directive:</p>

    <div class="example"><h3>Example</h3><p><code>
      AddType image/jpeg jpeg jpg jpe
    </code></p></div>

    <div class="note">
      It is recommended that new MIME types be added using the
      <code class="directive">AddType</code> directive rather than changing the 
+6 −0
Original line number Diff line number Diff line
@@ -494,6 +494,12 @@ type</description>
      AddType image/gif .gif
    </example>

    <p>Or, to specify multiple file extensions in one directive:</p>

    <example><title>Example</title>
      AddType image/jpeg jpeg jpg jpe
    </example>

    <note>
      It is recommended that new MIME types be added using the
      <directive>AddType</directive> directive rather than changing the