From: Joshua Slive A type map is a document which is associated with the
- handler named A type map is a document which is associated with the handler
+ named type-map
(or, for
- backwards-compatibility with older Apache configurations, the
- MIME type application/x-type-map
). Note that to
- use this feature, you must have a handler set in the
- configuration that defines a file suffix as
- type-map
; this is best done withtype-map
(or, for backwards-compatibility with
+ older Apache configurations, the application/x-type-map
). Note that to use this
+ feature, you must have a handler set in the configuration that
+ defines a file suffix as type-map
; this is best done
+ with
First, all output from your CGI program must be preceded by
- a MIME-type header. This is HTTP header that tells the client
+ a
text/plain
or text/html
This directive activates a particular output filter for a request depending on the - response MIME-type.
+ responseThe following example uses the Enabling filters with There will be times when the server is asked to provide a
- document whose type cannot be determined by its MIME types
- mappings.DEFLATE
filter, which
is provided by text/plain
or text/html
The server must inform the client of the content-type of the
document, so in the event of an unknown type it uses the
diff --git a/docs/manual/mod/mod_actions.xml b/docs/manual/mod/mod_actions.xml
index 4dfb90d4860..235981bf1c9 100644
--- a/docs/manual/mod/mod_actions.xml
+++ b/docs/manual/mod/mod_actions.xml
@@ -34,12 +34,12 @@ media type or request method.
This module has two directives. The
This directive adds an action, which will activate
- cgi-script when action-type is triggered by the
- request. The cgi-script is the URL-path to a resource
- that has been designated as a CGI script using PATH_INFO
and PATH_TRANSLATED
- environment variables. The handler used for the particular request is
- passed using the REDIRECT_HANDLER
variable.
PATH_INFO
and PATH_TRANSLATED
+ environment variables. The handler used for the particular request
+ is passed using the REDIRECT_HANDLER
variable.
This command inserts the text of another document or file
- into the parsed file. Any included file is subject to the
- usual access control. If the directory containing the
- parsed file has Options
- IncludesNOEXEC
set, then only documents with
- a text MIME type (text/plain
, text/html
- etc.) will be included. Otherwise CGI scripts are invoked as normal
- using the complete URL given in the command, including any query
- string.
IncludesNOEXEC
set, then only documents with a text
+ text/plain
,
+ text/html
etc.) will be included. Otherwise CGI
+ scripts are invoked as normal using the complete URL given in
+ the command, including any query string.
An attribute defines the location of the document; the
inclusion is done for each attribute given to the include
@@ -757,7 +757,7 @@ set
The text/html
. text/html
.
diff --git a/docs/manual/mod/mod_mime.xml b/docs/manual/mod/mod_mime.xml
index b811495375e..1c372172e81 100644
--- a/docs/manual/mod/mod_mime.xml
+++ b/docs/manual/mod/mod_mime.xml
@@ -49,7 +49,7 @@
module="mod_mime">AddType are all used to map file
extensions onto the meta-information for that file. Respectively
they set the character set, content-encoding, content-language,
- and MIME-type (content-type) of documents. The directive
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 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 MIME-type image/gif
and
- .html
maps to the MIME-type text/html
, then the
- file welcome.gif.html
will be associated with the MIME-type
- text/html
.
+ welcome.fr.html
will map onto exactly the same
+ information. If more than one extension is given which 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 image/gif
and .html
maps to the
+ MIME-type text/html
, then the file
+ welcome.gif.html
will be associated with the
+ MIME-type text/html
.
Languages and content encodings are treated accumulative, because one can assign @@ -120,7 +121,7 @@ module="mod_mime_magic">MimeMagicFile text/html.
Care should be taken when a file with multiple extensions
- gets associated with both a MIME-type and a handler. This will
+ gets associated with both a .imap
extension is mapped to the handler imap-file
(from
@@ -134,7 +135,7 @@ module="mod_mime_magic">MimeMagicFile
A file of a particular MIME type can additionally be encoded a +
A file of a particular The The The The The The gzip
, it can also refer to encryption, such a
@@ -479,13 +480,15 @@ type
.htaccess
files in subdirectories to undo any
- associations inherited from parent directories or the server
- config files. An example of its use might be:.htaccess
files in
+ subdirectories to undo any associations inherited from parent
+ directories or the server config files. An example of its use
+ might be:mime.types
- file, which associates common filename extensions with IANA registered
- content types. The current list is maintained at mime.types file, which associates common filename
+ extensions with IANA registered content types. The current list is
+ maintained at http://www.iana.org/assignments/media-types/index.html.
- This simplifies the httpd.conf
file by providing the
+ >http://www.iana.org/assignments/media-types/index.html. This
+ simplifies the httpd.conf
file by providing the
majority of media-type definitions, and may be overridden by
mime.types
file, because
- it may be replaced when you upgrade your server.mime.types
file,
+ because it may be replaced when you upgrade your server.
The file contains lines in the format of the arguments to
an
This module determines the MIME type of files in the same
- way the Unix file(1)
command works: it looks at the first
- few bytes of the file. It is intended as a "second line of defense"
+
This module determines the file(1)
command works: it looks at the first few
+ bytes of the file. It is intended as a "second line of defense"
for cases that
This module is derived from a free version of the diff --git a/docs/manual/mod/mod_negotiation.xml b/docs/manual/mod/mod_negotiation.xml index 8a16763d97b..4cec684c84e 100644 --- a/docs/manual/mod/mod_negotiation.xml +++ b/docs/manual/mod/mod_negotiation.xml @@ -88,10 +88,11 @@ Negotiation
Content-Type:
name=value
. Common parameters include:
+ The name=value
. Common
+ parameters include:
level
type|T
=MIME-type'
(force MIME type).php
files to
diff --git a/docs/manual/programs/configure.xml b/docs/manual/programs/configure.xml
index cf59786a7a8..5ad7dad7ac4 100644
--- a/docs/manual/programs/configure.xml
+++ b/docs/manual/programs/configure.xml
@@ -370,10 +370,10 @@
to the server without this module.--disable-mime
--disable-negotiation
--enable-mime-magic
--enable-mime-magic
--enable-isapi