Loading docs/manual/bind.html.en +29 −0 Original line number Diff line number Diff line Loading @@ -34,6 +34,7 @@ <p>Configuring Apache HTTP Server to listen on specific addresses and ports.</p> </div> <div id="quickview"><a href="https://www.apache.org/foundation/contributing.html" class="badge"><img src="https://www.apache.org/images/SupportApache-small.png" alt="Support Apache!" /></a><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#overview">Overview</a></li> <li><img alt="" src="./images/down.gif" /> <a href="#reload">Changing Listen configuration on restart</a></li> <li><img alt="" src="./images/down.gif" /> <a href="#ipv6">Special IPv6 Considerations</a></li> <li><img alt="" src="./images/down.gif" /> <a href="#protocol">Specifying the protocol with Listen</a></li> <li><img alt="" src="./images/down.gif" /> <a href="#virtualhost">How This Works With Virtual Hosts</a></li> Loading Loading @@ -101,6 +102,34 @@ Listen 192.0.2.5:8000</pre> </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> <div class="section"> <h2><a name="reload" id="reload">Changing Listen configuration on restart</a></h2> <p>When httpd is restarted, special consideration must be made for changes to <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> directives. During a restart, httpd keeps ports bound (as in the original configuration) to avoid generating "Connection refused" errors for any new attempts to connect to the server. If changes are made to the set of <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> directives used which conflict with the old configuration, configuration will fail and the server will terminate.</p> <p>For example, changing from configuration:</p> <div class="example"><pre class="prettyprint lang-config">Listen 127.0.0.1:80</pre> </div> <p>to the following may fail, because binding to port 80 across all addresses conflicts with binding to port 80 on just 127.0.0.1.</p> <div class="example"><pre class="prettyprint lang-config">Listen 80</pre> </div> <p>To have such configuration changes take effect, it is necessary to stop and then start the server.</p> </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> <div class="section"> <h2><a name="ipv6" id="ipv6">Special IPv6 Considerations</a></h2> Loading docs/manual/mod/core.html.en +55 −2 Original line number Diff line number Diff line Loading @@ -26,7 +26,9 @@ <div id="page-content"> <div id="preamble"><h1>Apache Core Features</h1> <div class="toplang"> <p><span>Available Languages: </span><a href="../de/mod/core.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | <p><span>Available Languages: </span><a href="../2/mod/core.html" hreflang="2" rel="alternate" title=""> 2 </a> | <a href="../de/mod/core.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | <a href="../edited/mod/core.html" hreflang="edited" rel="alternate" title=""> edited </a> | <a href="../en/mod/core.html" title="English"> en </a> | <a href="../es/mod/core.html" hreflang="es" rel="alternate" title="Espaol"> es </a> | <a href="../fr/mod/core.html" hreflang="fr" rel="alternate" title="Franais"> fr </a> | Loading Loading @@ -102,6 +104,7 @@ available</td></tr> <li><img alt="" src="../images/down.gif" /> <a href="#protocols">Protocols</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#protocolshonororder">ProtocolsHonorOrder</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#qualifyredirecturl">QualifyRedirectURL</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#regexdefaultoptions">RegexDefaultOptions</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#registerhttpmethod">RegisterHttpMethod</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#rlimitcpu">RLimitCPU</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#rlimitmem">RLimitMEM</a></li> Loading Loading @@ -3872,6 +3875,53 @@ as if 'QualifyRedirectURL ON' was configured.</td></tr> fully qualified URL, REDIRECT_URL will remain fully qualified. </p> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="RegexDefaultOptions" id="RegexDefaultOptions">RegexDefaultOptions</a> <a name="regexdefaultoptions" id="regexdefaultoptions">Directive</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Allow to configure global/default options for regexes</td></tr> <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>RegexDefaultOptions [none] [+|-]<var>option</var> [[+|-]<var>option</var>] ...</code></td></tr> <tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>RegexDefaultOptions DOLLAR_ENDONLY</code></td></tr> <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config</td></tr> <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>core</td></tr> <tr><th><a href="directive-dict.html#Compatibility">Compatibility:</a></th><td>Only available from Apache 2.4.30 and later.</td></tr> </table> <p>This directive adds some default behavior to ANY regular expression used afterwards.</p> <p>Any option preceded by a '+' is added to the already set options.<br /> Any option preceded by a '-' is removed from the already set options.<br /> Any option without a '+' or a '-' will be set, removing any other already set option.<br /> The <code>none</code> keyword resets any already set options.</p> <p><var>option</var> can be:</p> <dl> <dt><code>ICASE</code></dt> <dd>Use a case-insensitive match.</dd> <dt><code>DOTALL</code></dt> <dd>Perl's /s flag.</dd> <dt><code>DOLLAR_ENDONLY</code></dt> <dd>'$' matches at end of subject string only.</dd> <dd>.</dd> </dl> <pre class="prettyprint lang-config"># RegexDefaultOptions +ICASE +DOLLAR_ENDONLY ... # Remove the ICASE option, but keep all the other already set options RegexDefaultOptions -ICASE ... # Set the default option to DOTALL, resetting any other option RegexDefaultOptions DOTALL ... # Reset all defined option RegexDefaultOptions none ...</pre> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="RegisterHttpMethod" id="RegisterHttpMethod">RegisterHttpMethod</a> <a name="registerhttpmethod" id="registerhttpmethod">Directive</a></h2> Loading @@ -3881,6 +3931,7 @@ as if 'QualifyRedirectURL ON' was configured.</td></tr> <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config</td></tr> <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>core</td></tr> <tr><th><a href="directive-dict.html#Compatibility">Compatibility:</a></th><td>Available in Apache HTTP Server 2.4.24 and later</td></tr> </table> <p>This directive may be used to register additional HTTP methods. This is necessary if non-standard methods need to be used with directives that accept Loading Loading @@ -4883,7 +4934,9 @@ hostname or IP address</td></tr> </div> </div> <div class="bottomlang"> <p><span>Available Languages: </span><a href="../de/mod/core.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | <p><span>Available Languages: </span><a href="../2/mod/core.html" hreflang="2" rel="alternate" title=""> 2 </a> | <a href="../de/mod/core.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | <a href="../edited/mod/core.html" hreflang="edited" rel="alternate" title=""> edited </a> | <a href="../en/mod/core.html" title="English"> en </a> | <a href="../es/mod/core.html" hreflang="es" rel="alternate" title="Espaol"> es </a> | <a href="../fr/mod/core.html" hreflang="fr" rel="alternate" title="Franais"> fr </a> | Loading docs/manual/mod/core.xml.de +1 −1 Original line number Diff line number Diff line <?xml version="1.0"?> <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd"> <?xml-stylesheet type="text/xsl" href="../style/manual.de.xsl"?> <!-- English Revision: 344972:1827611 (outdated) --> <!-- English Revision: 344972:1828061 (outdated) --> <!-- Licensed to the Apache Software Foundation (ASF) under one or more Loading docs/manual/mod/core.xml.es +1 −1 Original line number Diff line number Diff line <?xml version="1.0"?> <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd"> <?xml-stylesheet type="text/xsl" href="../style/manual.es.xsl"?> <!-- English Revision: 1741251:1827611 (outdated) --> <!-- English Revision: 1741251:1828061 (outdated) --> <!-- Translated by Luis Gil de Bernabé Pfeiffer lgilbernabe[AT]apache.org --> <!-- Reviewed by Sergio Ramos--> <!-- Loading docs/manual/mod/core.xml.fr +1 −1 Original line number Diff line number Diff line <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd"> <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?> <!-- English Revision: 1827611 --> <!-- English Revision: 1827611:1828061 (outdated) --> <!-- French translation : Lucien GENTIS --> <!-- Reviewed by : Vincent Deffontaines --> Loading Loading
docs/manual/bind.html.en +29 −0 Original line number Diff line number Diff line Loading @@ -34,6 +34,7 @@ <p>Configuring Apache HTTP Server to listen on specific addresses and ports.</p> </div> <div id="quickview"><a href="https://www.apache.org/foundation/contributing.html" class="badge"><img src="https://www.apache.org/images/SupportApache-small.png" alt="Support Apache!" /></a><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#overview">Overview</a></li> <li><img alt="" src="./images/down.gif" /> <a href="#reload">Changing Listen configuration on restart</a></li> <li><img alt="" src="./images/down.gif" /> <a href="#ipv6">Special IPv6 Considerations</a></li> <li><img alt="" src="./images/down.gif" /> <a href="#protocol">Specifying the protocol with Listen</a></li> <li><img alt="" src="./images/down.gif" /> <a href="#virtualhost">How This Works With Virtual Hosts</a></li> Loading Loading @@ -101,6 +102,34 @@ Listen 192.0.2.5:8000</pre> </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> <div class="section"> <h2><a name="reload" id="reload">Changing Listen configuration on restart</a></h2> <p>When httpd is restarted, special consideration must be made for changes to <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> directives. During a restart, httpd keeps ports bound (as in the original configuration) to avoid generating "Connection refused" errors for any new attempts to connect to the server. If changes are made to the set of <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> directives used which conflict with the old configuration, configuration will fail and the server will terminate.</p> <p>For example, changing from configuration:</p> <div class="example"><pre class="prettyprint lang-config">Listen 127.0.0.1:80</pre> </div> <p>to the following may fail, because binding to port 80 across all addresses conflicts with binding to port 80 on just 127.0.0.1.</p> <div class="example"><pre class="prettyprint lang-config">Listen 80</pre> </div> <p>To have such configuration changes take effect, it is necessary to stop and then start the server.</p> </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> <div class="section"> <h2><a name="ipv6" id="ipv6">Special IPv6 Considerations</a></h2> Loading
docs/manual/mod/core.html.en +55 −2 Original line number Diff line number Diff line Loading @@ -26,7 +26,9 @@ <div id="page-content"> <div id="preamble"><h1>Apache Core Features</h1> <div class="toplang"> <p><span>Available Languages: </span><a href="../de/mod/core.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | <p><span>Available Languages: </span><a href="../2/mod/core.html" hreflang="2" rel="alternate" title=""> 2 </a> | <a href="../de/mod/core.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | <a href="../edited/mod/core.html" hreflang="edited" rel="alternate" title=""> edited </a> | <a href="../en/mod/core.html" title="English"> en </a> | <a href="../es/mod/core.html" hreflang="es" rel="alternate" title="Espaol"> es </a> | <a href="../fr/mod/core.html" hreflang="fr" rel="alternate" title="Franais"> fr </a> | Loading Loading @@ -102,6 +104,7 @@ available</td></tr> <li><img alt="" src="../images/down.gif" /> <a href="#protocols">Protocols</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#protocolshonororder">ProtocolsHonorOrder</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#qualifyredirecturl">QualifyRedirectURL</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#regexdefaultoptions">RegexDefaultOptions</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#registerhttpmethod">RegisterHttpMethod</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#rlimitcpu">RLimitCPU</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#rlimitmem">RLimitMEM</a></li> Loading Loading @@ -3872,6 +3875,53 @@ as if 'QualifyRedirectURL ON' was configured.</td></tr> fully qualified URL, REDIRECT_URL will remain fully qualified. </p> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="RegexDefaultOptions" id="RegexDefaultOptions">RegexDefaultOptions</a> <a name="regexdefaultoptions" id="regexdefaultoptions">Directive</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Allow to configure global/default options for regexes</td></tr> <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>RegexDefaultOptions [none] [+|-]<var>option</var> [[+|-]<var>option</var>] ...</code></td></tr> <tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>RegexDefaultOptions DOLLAR_ENDONLY</code></td></tr> <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config</td></tr> <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>core</td></tr> <tr><th><a href="directive-dict.html#Compatibility">Compatibility:</a></th><td>Only available from Apache 2.4.30 and later.</td></tr> </table> <p>This directive adds some default behavior to ANY regular expression used afterwards.</p> <p>Any option preceded by a '+' is added to the already set options.<br /> Any option preceded by a '-' is removed from the already set options.<br /> Any option without a '+' or a '-' will be set, removing any other already set option.<br /> The <code>none</code> keyword resets any already set options.</p> <p><var>option</var> can be:</p> <dl> <dt><code>ICASE</code></dt> <dd>Use a case-insensitive match.</dd> <dt><code>DOTALL</code></dt> <dd>Perl's /s flag.</dd> <dt><code>DOLLAR_ENDONLY</code></dt> <dd>'$' matches at end of subject string only.</dd> <dd>.</dd> </dl> <pre class="prettyprint lang-config"># RegexDefaultOptions +ICASE +DOLLAR_ENDONLY ... # Remove the ICASE option, but keep all the other already set options RegexDefaultOptions -ICASE ... # Set the default option to DOTALL, resetting any other option RegexDefaultOptions DOTALL ... # Reset all defined option RegexDefaultOptions none ...</pre> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="RegisterHttpMethod" id="RegisterHttpMethod">RegisterHttpMethod</a> <a name="registerhttpmethod" id="registerhttpmethod">Directive</a></h2> Loading @@ -3881,6 +3931,7 @@ as if 'QualifyRedirectURL ON' was configured.</td></tr> <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config</td></tr> <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Core</td></tr> <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>core</td></tr> <tr><th><a href="directive-dict.html#Compatibility">Compatibility:</a></th><td>Available in Apache HTTP Server 2.4.24 and later</td></tr> </table> <p>This directive may be used to register additional HTTP methods. This is necessary if non-standard methods need to be used with directives that accept Loading Loading @@ -4883,7 +4934,9 @@ hostname or IP address</td></tr> </div> </div> <div class="bottomlang"> <p><span>Available Languages: </span><a href="../de/mod/core.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | <p><span>Available Languages: </span><a href="../2/mod/core.html" hreflang="2" rel="alternate" title=""> 2 </a> | <a href="../de/mod/core.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> | <a href="../edited/mod/core.html" hreflang="edited" rel="alternate" title=""> edited </a> | <a href="../en/mod/core.html" title="English"> en </a> | <a href="../es/mod/core.html" hreflang="es" rel="alternate" title="Espaol"> es </a> | <a href="../fr/mod/core.html" hreflang="fr" rel="alternate" title="Franais"> fr </a> | Loading
docs/manual/mod/core.xml.de +1 −1 Original line number Diff line number Diff line <?xml version="1.0"?> <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd"> <?xml-stylesheet type="text/xsl" href="../style/manual.de.xsl"?> <!-- English Revision: 344972:1827611 (outdated) --> <!-- English Revision: 344972:1828061 (outdated) --> <!-- Licensed to the Apache Software Foundation (ASF) under one or more Loading
docs/manual/mod/core.xml.es +1 −1 Original line number Diff line number Diff line <?xml version="1.0"?> <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd"> <?xml-stylesheet type="text/xsl" href="../style/manual.es.xsl"?> <!-- English Revision: 1741251:1827611 (outdated) --> <!-- English Revision: 1741251:1828061 (outdated) --> <!-- Translated by Luis Gil de Bernabé Pfeiffer lgilbernabe[AT]apache.org --> <!-- Reviewed by Sergio Ramos--> <!-- Loading
docs/manual/mod/core.xml.fr +1 −1 Original line number Diff line number Diff line <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd"> <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?> <!-- English Revision: 1827611 --> <!-- English Revision: 1827611:1828061 (outdated) --> <!-- French translation : Lucien GENTIS --> <!-- Reviewed by : Vincent Deffontaines --> Loading