From: Joshua Slive Care should be taken when a file with multiple extensions
gets associated with both a If you would prefer only the last dot-separated part of the
+ filename to be mapped to a particular piece of meta-data, then do
+ not use the welcome.html.fr
maps onto content type
text/html
and language French then the file
welcome.fr.html
will map onto exactly the same
- information. If more than one extension is given which maps onto
+ information. If more than one extension is given that maps onto
the same type of meta-information, then the one to the right will
be used, except for languages and content encodings. For example,
if .gif
maps to the .imap
extension is mapped to the handler imap-file
(from
.html
extension is
@@ -132,6 +132,22 @@ module="mod_mime_magic">MimeMagicFile
When it is processed, the imap-file
handler will be used,
and so it will be treated as a Add*
directives. For example, if you wish
+ to have the file foo.html.cgi
processed as a CGI
+ script, but not the file bar.cgi.html
, then instead
+ of using AddHandler cgi-script .cgi
, use
The extension argument is case-insensitive, and can - be specified with or without a leading dot.
+The extension argument is case-insensitive and can + be specified with or without a leading dot. Filenames may have multiple extensions and the + extension argument will be compared against each of + them.
+deflate
should be
specified without the x-
.
- The extension argument is case-insensitive, and can - be specified with or without a leading dot.
+The extension argument is case-insensitive and can + be specified with or without a leading dot. Filenames may have multiple extensions and the + extension argument will be compared against each of + them.
@@ -339,8 +362,11 @@ handlerOnce that has been put into your httpd.conf file, any file containing
the .cgi
extension will be treated as a CGI program.
The extension argument is case-insensitive, and can - be specified with or without a leading dot.
+The extension argument is case-insensitive and can + be specified with or without a leading dot. Filenames may have multiple extensions and the + extension argument will be compared against each of + them.
If more than one filter is specified, they must be separated +
If more than one filter is specified, they must be separated by semicolons in the order in which they should process the - content. Both the filter and extension arguments are - case-insensitive, and the extension may be specified with or - without a leading dot.
+ content. The filter is case-insensitive. + +The extension argument is case-insensitive and can + be specified with or without a leading dot. Filenames may have multiple extensions and the + extension argument will be compared against each of + them.
+documents with the extension .en
would be treated as
being en-us
.
The extension argument is case-insensitive, and can - be specified with or without a leading dot.
+The extension argument is case-insensitive and can + be specified with or without a leading dot. Filenames may have multiple extensions and the + extension argument will be compared against each of + them.
If more than one filter is specified, they must be separated by semicolons in the order in which they should process the - content. Both the filter and extension arguments - are case-insensitive, and the extension may be specified with or - without a leading dot.
+ content. The filter argument is case-insensitive. + +The extension argument is case-insensitive and can + be specified with or without a leading dot. Filenames may have multiple extensions and the + extension argument will be compared against each of + them.
The extension argument is case-insensitive, and can - be specified with or without a leading dot.
+The extension argument is case-insensitive and can + be specified with or without a leading dot. Filenames may have multiple extensions and the + extension argument will be compared against each of + them.
The extension argument is case-insensitive, and can +
The extension argument is case-insensitive and can be specified with or without a leading dot.
The extension argument is case-insensitive, and can +
The extension argument is case-insensitive and can be specified with or without a leading dot.
@@ -737,7 +778,7 @@ extensions files, rather than as candidates for parsing (see theThe extension argument is case-insensitive, and can +
The extension argument is case-insensitive and can be specified with or without a leading dot.
@@ -762,7 +803,7 @@ later. undo any associations inherited from parent directories or the server config files. -The extension argument is case-insensitive, and can +
The extension argument is case-insensitive and can be specified with or without a leading dot.
The extension argument is case-insensitive, and can +
The extension argument is case-insensitive and can be specified with or without a leading dot.
@@ -813,7 +854,7 @@ later. undo any associations inherited from parent directories or the server config files. -The extension argument is case-insensitive, and can +
The extension argument is case-insensitive and can be specified with or without a leading dot.
The extension argument is case-insensitive, and can +
The extension argument is case-insensitive and can be specified with or without a leading dot.