From: Christophe Jaillet Date: Sat, 25 Nov 2017 11:43:18 +0000 (+0000) Subject: s/simmilar/similar/ reported in PR 61799 X-Git-Tag: 2.4.30~255 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0ae9bb91991ef37f019e2f05e605bbd40b571c2d;p=apache s/simmilar/similar/ reported in PR 61799 Fix layout of to synch with trunk git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1816284 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_mime.xml b/docs/manual/mod/mod_mime.xml index bb38b19b8b..422b008080 100644 --- a/docs/manual/mod/mod_mime.xml +++ b/docs/manual/mod/mod_mime.xml @@ -192,7 +192,9 @@ module="mod_mime_magic">MimeMagicFile resource, in order to tell the client browser about the encoding method.

- Content-encoding: pkzip + +Content-encoding: pkzip +
Character sets and languages @@ -364,7 +366,7 @@ handler might use:

- AddHandler cgi-script .cgi +AddHandler cgi-script .cgi

Once that has been put into your httpd.conf file, any file containing @@ -497,7 +499,7 @@ responses from the server compress the output using mod_deflate.

- AddOutputFilter INCLUDES;DEFLATE shtml +AddOutputFilter INCLUDES;DEFLATE shtml

If more than one filter is specified, they must be separated @@ -568,16 +570,16 @@ type Example - AddType image/gif .gif - +AddType image/gif .gif +

Or, to specify multiple file extensions in one directive:

Example - AddType image/jpeg jpeg jpg jpe - +AddType image/jpeg jpeg jpg jpe +

The extension argument is case-insensitive and can @@ -586,15 +588,15 @@ type extension argument will be compared against each of them.

-

A simmilar effect to mod_negotiation's +

A similar effect to mod_negotiation's LanguagePriority can be achieved by qualifying a media-type with qs:

Example - AddType application/rss+xml;qs=0.8 .xml - +AddType application/rss+xml;qs=0.8 .xml +

This is useful in situations, e.g. when a client @@ -681,7 +683,7 @@ a matching file with MultiViews files:

- MultiviewsMatch Handlers Filters +MultiviewsMatch Handlers Filters

MultiviewsMatch is not allowed in a @@ -723,8 +725,8 @@ assigned a language-tag by some other means. Example - DefaultLanguage en - +DefaultLanguage en + mod_negotiation @@ -749,8 +751,8 @@ components as part of the filename Example - ModMimeUsePathInfo On - +ModMimeUsePathInfo On +

If you have a request for /index.php/foo.shtml @@ -788,8 +790,8 @@ extensions Example - RemoveCharset .html .shtml - +RemoveCharset .html .shtml + @@ -856,14 +858,14 @@ extensions /foo/.htaccess: - AddHandler server-parsed .html - +AddHandler server-parsed .html + /foo/bar/.htaccess: - RemoveHandler .html - +RemoveHandler .html +

This has the effect of returning .html files in @@ -946,8 +948,8 @@ extensions Example - RemoveOutputFilter shtml - +RemoveOutputFilter shtml + AddOutputFilter @@ -973,8 +975,8 @@ extensions /foo/.htaccess: - RemoveType .cgi - +RemoveType .cgi +

This will remove any special handling of .cgi