From c9b4962ad98261950af7e5f3eae51a22a56d34d6 Mon Sep 17 00:00:00 2001
From: Joshua Slive This module is used to associate various bits of "meta
@@ -90,8 +89,8 @@
Files can have more than one extension, and the order of the
extensions is normally irrelevant. For example, if the
@@ -118,13 +117,13 @@
file. A file of a particular MIME type can additionally be encoded a
particular way to simplify transmission over the Internet.
While this usually will refer to compression, such as
- gzip, it can also refer to encryption, such a
- pgp or to an encoding such as UUencoding, which is
+ For example, you may have a file which is a Microsoft Word
document, which is pkzipped to reduce its size. If the
- .doc extension is associated with the Microsoft
- Word file type, and the .zip extension is
+ Apache send a Content-encoding header with the
+ Apache send a To convey this further information, Apache optionally sends
- a Content-Language header, to specify the language
+ a The language specification is the two-letter abbreviation
- for the language. The charset is the name of the
+ for the language. The The AddCharset directive maps the given filename extensions
- to the specified content charset. charset is the MIME
- charset parameter of filenames containing extension.
+ to the specified content charset. charset is the MIME
+ charset parameter of filenames containing extension.
This mapping is added to any already in force, overriding any
- mappings that already exist for the same extension. Example: 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. This mapping is added to any already in
@@ -356,13 +354,16 @@ to the handler handler-name.
The extension argument is case-insensitive, and can
be specified with or without a leading dot.gzip
, it can also refer to encryption, such a
+ pgp
or to an encoding such as UUencoding, which is
designed for transmitting a binary file in an ASCII (text)
format..doc
extension is associated with the Microsoft
+ Word file type, and the .zip
extension is
associated with the pkzip file encoding, then the file
- Resume.doc.zipwould be known to be a pkzip'ed Word
+ Resume.doc.zip
would be known to be a pkzip'ed Word
document.Content-encoding
header with the
resource, in order to tell the client browser about the
encoding method.Content-Language
header, to specify the language
that the document is in, and can append additional information
- onto the Content-Type header to indicate the
+ onto the Content-Type
header to indicate the
particular character set that should be used to correctly
render the information.charset
is the name of the
particular character set which should be used.
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.
-The DefaultLanguage directive tells Apache that all files in
the directive's scope (e.g., all files covered by the
current <Directory>
container) that don't
- have an explicit language extension (such as .fr
- or .de as configured by AddLanguage)
+ have an explicit language extension (such as .fr
+ or .de
as configured by AddLanguage
)
should be considered to be in the specified MIME-lang
language. This allows entire directories to be marked as
containing Dutch content, for instance, without having to
rename each file. Note that unlike using extensions to specify
- languages, DefaultLanguage can only specify a
+ languages, DefaultLanguage
can only specify a
single language.
If no DefaultLanguage directive is in force, +
If no DefaultLanguage
directive is in force,
and a file does not have any language extensions as configured
- by AddLanguage, then that file will be considered
+ by AddLanguage
, then that file will be considered
to have no language attribute.
The RemoveCharset directive removes any +
The The RemoveEncoding directive removes any
+ The Note:RemoveEncoding directives are processed
- after any AddEncoding directives, so it is possible they
+ Note:RemoveEncoding directives are processed
+ after any AddEncoding directives, so it is possible they
may undo the effects of the latter if both occur within the
same directory configuration. The RemoveHandler directive removes any handler
+ The This has the effect of returning .html files in
- the /foo/bar directory to being treated as normal
+ This has the effect of returning The extension argument is case-insensitive, and can
@@ -781,7 +778,7 @@ specified language
The RemoveInputFilter directive removes any
+ The The RemoveLanguage directive removes any
+ The The RemoveOutputFilter directive removes any
+ The The extension argument is case-insensitive, and can
be specified with or without a leading dot.RemoveCharset
directive removes any
character set associations for files with the given extensions.
This allows .htaccess
files in subdirectories to
undo any associations inherited from parent directories or the
@@ -689,7 +686,7 @@ specified language
RemoveEncoding
directive removes any
encoding associations for files with the given extensions. This
allows .htaccess
files in subdirectories to undo
any associations inherited from parent directories or the
@@ -712,8 +709,8 @@ specified language
encoded with the gzip method, but foo.gz.asc
as an
unencoded plaintext file.RemoveHandler
directive removes any handler
associations for files with the given extensions. This allows
.htaccess
files in subdirectories to undo any
associations inherited from parent directories or the server
@@ -755,10 +752,10 @@ specified language
- .html
files in
+ the /foo/bar
directory to being treated as normal
files, rather than as candidates for parsing (see the mod_include
+ href="mod_include.html">mod_include
module).RemoveInputFilter
directive removes any
input filter associations for files with the given extensions.
This allows .htaccess
files in subdirectories to
undo any associations inherited from parent directories or the
@@ -807,7 +804,7 @@ specified language
RemoveLanguage
directive removes any
language associations for files with the given extensions. This
allows .htaccess
files in subdirectories to undo
any associations inherited from parent directories or the
@@ -833,7 +830,7 @@ specified language
RemoveOutputFilter
directive removes any
output filter associations for files with the given extensions.
This allows .htaccess
files in subdirectories to
undo any associations inherited from parent directories or the
@@ -878,10 +875,11 @@ specified language
causing the files to be treated as being of the default type.