Adds an example using multiple file extensions, to answer a
authorRich Bowen <rbowen@apache.org>
Fri, 25 May 2007 15:11:46 +0000 (15:11 +0000)
committerRich Bowen <rbowen@apache.org>
Fri, 25 May 2007 15:11:46 +0000 (15:11 +0000)
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

docs/manual/mod/mod_mime.html.en
docs/manual/mod/mod_mime.xml

index f67858f62eb413bf8dc794e209ec575a0862a703..eaf40d232cfeb2c916348a879a5e6e56012d574c 100644 (file)
@@ -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 
index f0059238f6c8d181914d04b28fcc69a4570e4ecd..ad1415dc0a667dce564ab2086e3bfad188ee062b 100644 (file)
@@ -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