From: Roy T. Fielding Date: Thu, 10 Jul 2003 15:34:37 +0000 (+0000) Subject: Try to be clearer in describing the connection between AddType and X-Git-Tag: pre_ajp_proxy~1463 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7456462b0c5bbeb0426343aaab30ca5c8224109b;p=apache Try to be clearer in describing the connection between AddType and AddEncoding for defining the meaning of compressed file extensions. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100538 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/conf/httpd-std.conf.in b/docs/conf/httpd-std.conf.in index cb2e2f6cc9..8dd7534e5f 100644 --- a/docs/conf/httpd-std.conf.in +++ b/docs/conf/httpd-std.conf.in @@ -703,6 +703,28 @@ ServerSignature On + + # + # AddType allows you to add to or override the MIME configuration + # file mime.types for specific file types. + # + #AddType application/x-gzip .tgz + + # + # AddEncoding allows you to have certain browsers uncompress + # information on the fly. Note: Not all browsers support this. + # Despite the name similarity, the following Add* directives have + # nothing to do with the FancyIndexing customization directives above. + # + #AddEncoding x-compress Z + #AddEncoding x-gzip gz tgz + # + # If the AddEncoding directives above are commented-out, then you + # probably should define those extensions to indicate media types: + # + AddType application/x-compress .Z + AddType application/x-gzip .gz .tgz + # # AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) # uncompress information on the fly. Note: Not all browsers support @@ -856,13 +878,6 @@ ServerSignature On AddCharset EUC-KR .euc-kr AddCharset shift_jis .sjis - # - # AddType allows you to add to or override the MIME configuration - # file mime.types for specific file types. - # - #AddType application/x-gzip .tgz - #AddType image/x-icon .ico - # # AddHandler allows you to map certain file extensions to "handlers": # actions unrelated to filetype. These can be either built into the server diff --git a/docs/conf/httpd-win.conf b/docs/conf/httpd-win.conf index 713320ba9f..872326255c 100644 --- a/docs/conf/httpd-win.conf +++ b/docs/conf/httpd-win.conf @@ -614,13 +614,25 @@ HeaderName HEADER.html IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t # -# AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress +# AddType allows you to add to or override the MIME configuration +# file mime.types for specific file types. +# +#AddType application/x-gzip .tgz + +# +# AddEncoding allows you to have certain browsers uncompress # information on the fly. Note: Not all browsers support this. -# Despite the name similarity, the following Add* directives have nothing -# to do with the FancyIndexing customization directives above. +# Despite the name similarity, the following Add* directives have +# nothing to do with the FancyIndexing customization directives above. # #AddEncoding x-compress Z #AddEncoding x-gzip gz tgz +# +# If the AddEncoding directives above are commented-out, then you +# probably should define those extensions to indicate media types: +# +AddType application/x-compress .Z +AddType application/x-gzip .gz .tgz # # DefaultLanguage and AddLanguage allows you to specify the language of @@ -760,13 +772,6 @@ AddCharset EUC-JP .euc-jp AddCharset EUC-KR .euc-kr AddCharset shift_jis .sjis -# -# AddType allows you to add to or override the MIME configuration -# file mime.types for specific file types. -# -#AddType application/x-gzip .tgz -#AddType image/x-icon .ico - # # AddHandler allows you to map certain file extensions to "handlers": # actions unrelated to filetype. These can be either built into the server diff --git a/docs/conf/mime.types b/docs/conf/mime.types index a329b0a5f6..8a355977a6 100644 --- a/docs/conf/mime.types +++ b/docs/conf/mime.types @@ -351,7 +351,7 @@ application/x-director dcr dir dxr application/x-dvi dvi application/x-futuresplash spl application/x-gtar gtar -application/x-gzip gz tgz +application/x-gzip application/x-hdf hdf application/x-javascript js application/x-koan skp skd skt skm