From: Rich Bowen
Date: Fri, 25 May 2007 15:11:46 +0000 (+0000)
Subject: Adds an example using multiple file extensions, to answer a
X-Git-Tag: 2.3.0~1795
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=972efb077f1f4292f87523cd8c38510a8982cbd5;p=thirdparty%2Fapache%2Fhttpd.git
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
---
diff --git a/docs/manual/mod/mod_mime.html.en b/docs/manual/mod/mod_mime.html.en
index f67858f62eb..eaf40d232cf 100644
--- a/docs/manual/mod/mod_mime.html.en
+++ b/docs/manual/mod/mod_mime.html.en
@@ -507,6 +507,12 @@ type
AddType image/gif .gif
+ Or, to specify multiple file extensions in one directive:
+
+ Example
+ AddType image/jpeg jpeg jpg jpe
+
+
It is recommended that new MIME types be added using the
AddType
directive rather than changing the
diff --git a/docs/manual/mod/mod_mime.xml b/docs/manual/mod/mod_mime.xml
index f0059238f6c..ad1415dc0a6 100644
--- a/docs/manual/mod/mod_mime.xml
+++ b/docs/manual/mod/mod_mime.xml
@@ -494,6 +494,12 @@ type
AddType image/gif .gif
+
Or, to specify multiple file extensions in one directive:
+
+
Example
+ AddType image/jpeg jpeg jpg jpe
+
+
It is recommended that new MIME types be added using the
AddType directive rather than changing the