1
0
mirror of https://github.com/apache/httpd.git synced 2025-07-30 20:03:10 +03:00
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1675493 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Eric Covener
2015-04-22 20:28:29 +00:00
parent 1c92bd5a1c
commit e62bccb24d
9 changed files with 36 additions and 17 deletions

View File

@ -1880,18 +1880,28 @@ media type in the HTTP Content-Type header field</td></tr>
static files, where the generator of the response typically specifies static files, where the generator of the response typically specifies
a Content-Type, this directive has no effect.</p> a Content-Type, this directive has no effect.</p>
<div class="note"><h3>Note</h3> <div class="note"><h3>Note</h3>
<p>If no handler is explicitly set for a request, the specified content
type will also be used as the handler name. </p>
<p>When explicit directives such as <p>When explicit directives such as
<code class="directive"><a href="#sethandler">SetHandler</a></code> or <code class="directive"><a href="#sethandler">SetHandler</a></code> or
<code class="directive"><a href="../mod/mod_mime.html#addhandler">AddHandler</a></code> do not apply <code class="directive"><a href="../mod/mod_mime.html#addhandler">AddHandler</a></code> do not apply
to the current request, the internal handler name normally set by those to the current request, the internal handler name normally set by those
directives is set to match the content type specified by this directive. directives is instead set to the content type specified by this directive.
</p>
<p>
This is a historical behavior that some third-party modules This is a historical behavior that some third-party modules
(such as mod_php) may use "magic" content types used only to signal the (such as mod_php) may look for a "synthetic" content type used only to
module to take responsibility for the matching request. Configurations signal the module to take responsibility for the matching request.
that rely on such "magic" types should be avoided by the use of </p>
<p>Configurations that rely on such "synthetic" types should be avoided.
Additionally, configurations that restrict access to
<code class="directive"><a href="#sethandler">SetHandler</a></code> or <code class="directive"><a href="#sethandler">SetHandler</a></code> or
<code class="directive"><a href="../mod/mod_mime.html#addhandler">AddHandler</a></code>. </p> <code class="directive"><a href="../mod/mod_mime.html#addhandler">AddHandler</a></code> should
restrict access to this directive as well.</p>
</div> </div>

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd"> <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.de.xsl"?> <?xml-stylesheet type="text/xsl" href="../style/manual.de.xsl"?>
<!-- English Revision: 344972:1675429 (outdated) --> <!-- English Revision: 344972:1675491 (outdated) -->
<!-- <!--
Licensed to the Apache Software Foundation (ASF) under one or more Licensed to the Apache Software Foundation (ASF) under one or more

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd"> <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.en.xsl"?> <?xml-stylesheet type="text/xsl" href="../style/manual.en.xsl"?>
<!-- English Revision: 1040494:1675429 (outdated) --> <!-- English Revision: 1040494:1675491 (outdated) -->
<!-- <!--
Licensed to the Apache Software Foundation (ASF) under one or more Licensed to the Apache Software Foundation (ASF) under one or more

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd"> <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?> <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
<!-- English Revision: 1674195:1675429 (outdated) --> <!-- English Revision: 1674195:1675491 (outdated) -->
<!-- French translation : Lucien GENTIS --> <!-- French translation : Lucien GENTIS -->
<!-- Reviewed by : Vincent Deffontaines --> <!-- Reviewed by : Vincent Deffontaines -->

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?> <?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd"> <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?> <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
<!-- English Revision: 669847:1675429 (outdated) --> <!-- English Revision: 669847:1675491 (outdated) -->
<!-- <!--
Licensed to the Apache Software Foundation (ASF) under one or more Licensed to the Apache Software Foundation (ASF) under one or more

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd"> <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.tr.xsl"?> <?xml-stylesheet type="text/xsl" href="../style/manual.tr.xsl"?>
<!-- English Revision: 1302855:1675429 (outdated) --> <!-- English Revision: 1302855:1675491 (outdated) -->
<!-- ===================================================== <!-- =====================================================
Translated by: Nilgün Belma Bugüner <nilgun belgeler.org> Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
Reviewed by: Orhan Berent <berent belgeler.org> Reviewed by: Orhan Berent <berent belgeler.org>

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd"> <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?> <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
<!-- English Revision: 1673932:1675436 (outdated) --> <!-- English Revision: 1673932:1675455 (outdated) -->
<!-- French translation : Lucien GENTIS --> <!-- French translation : Lucien GENTIS -->
<!-- Reviewed by : Vincent Deffontaines --> <!-- Reviewed by : Vincent Deffontaines -->

View File

@ -596,17 +596,26 @@ type</td></tr>
<div class="note"><h3>Note</h3> <div class="note"><h3>Note</h3>
<p>If no handler is explicitly set for a request, the specified content
type will also be used as the handler name. </p>
<p>When explicit directives such as <p>When explicit directives such as
<code class="directive"><a href="../mod/core.html#sethandler">SetHandler</a></code> or <code class="directive"><a href="../mod/core.html#sethandler">SetHandler</a></code> or
<code class="directive"><a href="#addhandler">AddHandler</a></code> do not apply <code class="directive"><a href="#addhandler">AddHandler</a></code> do not apply
to the current request, the internal handler name normally set by those to the current request, the internal handler name normally set by those
directives is set to match the content type specified by this directive. directives is instead set to the content type specified by this directive.
</p>
<p>
This is a historical behavior that some third-party modules This is a historical behavior that some third-party modules
(such as mod_php) may use "magic" content types used only to signal the (such as mod_php) may look for a "synthetic" content type used only to
module to take responsibility for the matching request. Configurations signal the module to take responsibility for the matching request.
that rely on such "magic" types should be avoided by the use of </p>
<p>Configurations that rely on such "synthetic" types should be avoided.
Additionally, configurations that restrict access to
<code class="directive"><a href="../mod/core.html#sethandler">SetHandler</a></code> or <code class="directive"><a href="../mod/core.html#sethandler">SetHandler</a></code> or
<code class="directive"><a href="#addhandler">AddHandler</a></code>. </p> <code class="directive"><a href="#addhandler">AddHandler</a></code> should
restrict access to this directive as well.</p>
</div> </div>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?> <?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd"> <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?> <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
<!-- English Revision: 659902:1675429 (outdated) --> <!-- English Revision: 659902:1675491 (outdated) -->
<!-- <!--
Licensed to the Apache Software Foundation (ASF) under one or more Licensed to the Apache Software Foundation (ASF) under one or more