You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2007/05/25 17:11:47 UTC

svn commit: r541685 - in /httpd/httpd/trunk/docs/manual/mod: mod_mime.html.en mod_mime.xml

Author: rbowen
Date: Fri May 25 08:11:46 2007
New Revision: 541685

URL: http://svn.apache.org/viewvc?view=rev&rev=541685
Log:
Adds an example using multiple file extensions, to answer a
frequently-asked (IRC) question that came up yet again today.

Modified:
    httpd/httpd/trunk/docs/manual/mod/mod_mime.html.en
    httpd/httpd/trunk/docs/manual/mod/mod_mime.xml

Modified: httpd/httpd/trunk/docs/manual/mod/mod_mime.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_mime.html.en?view=diff&rev=541685&r1=541684&r2=541685
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_mime.html.en (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_mime.html.en Fri May 25 08:11:46 2007
@@ -507,6 +507,12 @@
       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 

Modified: httpd/httpd/trunk/docs/manual/mod/mod_mime.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_mime.xml?view=diff&rev=541685&r1=541684&r2=541685
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_mime.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_mime.xml Fri May 25 08:11:46 2007
@@ -494,6 +494,12 @@
       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