]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Revert UCN default change - set back to Off, which is
authorJim Jagielski <jim@apache.org>
Tue, 15 Nov 2005 18:28:23 +0000 (18:28 +0000)
committerJim Jagielski <jim@apache.org>
Tue, 15 Nov 2005 18:28:23 +0000 (18:28 +0000)
what 2.1/2.2 has been but is opposite from the 2.0 default.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@344408 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/core.html.en
docs/manual/mod/core.xml
docs/manual/mod/core.xml.de
docs/manual/mod/core.xml.ja
docs/manual/mod/quickreference.html.en
docs/manual/server-wide.xml.ja
docs/manual/server-wide.xml.ko
docs/manual/server-wide.xml.meta
server/core.c

index 006b642334b1fe03922acab415fc1a741aa268cd..6e63446120063b0b4b6351a8c2e83272703af50f 100644 (file)
@@ -3109,7 +3109,7 @@ requests</td></tr>
 <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Configures how the server determines its own name and
 port</td></tr>
 <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>UseCanonicalName On|Off|DNS</code></td></tr>
-<tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>UseCanonicalName On</code></td></tr>
+<tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>UseCanonicalName Off</code></td></tr>
 <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config, virtual host, directory</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>
index d845d583e213e026a80560033a8ca2e6c1fd9535..6205ab1ae54347515d49e9db12cf632cb186a227 100644 (file)
@@ -3079,7 +3079,7 @@ requests</description>
 <description>Configures how the server determines its own name and
 port</description>
 <syntax>UseCanonicalName On|Off|DNS</syntax>
-<default>UseCanonicalName On</default>
+<default>UseCanonicalName Off</default>
 <contextlist><context>server config</context><context>virtual host</context>
 <context>directory</context></contextlist>
 
index f386cc72d79035eb5dd0c85eaa91d47e2c97628f..b4d57640ab683184b65f8fa7dbf1f88477c4aade 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.de.xsl"?>
-<!-- English Revision: 167959:330409 (outdated) -->
+<!-- English Revision: 167959:344369 (outdated) -->
 
 <!--
  Copyright 2003-2005 The Apache Software Foundation or its licensors,
index b8260aad0a27c843459c6cfe11f6d14784ac4620..26337e9689a078e1b1b78f5df80280a8584b8923 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="iso-2022-jp"?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
-<!-- English Revision: 190982:330409 (outdated) -->
+<!-- English Revision: 190982:344369 (outdated) -->
 
 <!--
  Copyright 2003-2005 The Apache Software Foundation or its licensors,
index 520f0311dff618db586cbec362179905d5c8d08c..5e62e4aca13cf506509fa041ce8dd4144ce6d36e 100644 (file)
@@ -722,7 +722,7 @@ requests</td></tr>
 <tr class="odd"><td><a href="mod_mime.html#typesconfig">TypesConfig <var>file-path</var></a></td><td> conf/mime.types </td><td>s</td><td>B</td></tr><tr class="odd"><td class="descr" colspan="4">The location of the <code>mime.types</code> file</td></tr>
 <tr><td><a href="mod_env.html#unsetenv" id="U" name="U">UnsetEnv <var>env-variable</var> [<var>env-variable</var>]
 ...</a></td><td></td><td>svdh</td><td>B</td></tr><tr><td class="descr" colspan="4">Removes variables from the environment</td></tr>
-<tr class="odd"><td><a href="core.html#usecanonicalname">UseCanonicalName On|Off|DNS</a></td><td> On </td><td>svd</td><td>C</td></tr><tr class="odd"><td class="descr" colspan="4">Configures how the server determines its own name and
+<tr class="odd"><td><a href="core.html#usecanonicalname">UseCanonicalName On|Off|DNS</a></td><td> Off </td><td>svd</td><td>C</td></tr><tr class="odd"><td class="descr" colspan="4">Configures how the server determines its own name and
 port</td></tr>
 <tr><td><a href="core.html#usecanonicalphysicalport">UseCanonicalPhysicalPort On|Off</a></td><td> Off </td><td>svd</td><td>C</td></tr><tr><td class="descr" colspan="4">Configures how the server determines its own name and
 port</td></tr>
index 9b2b7ca274bbe3b8ae5aad71405009c30a22b4d5..735dc994cb4682fc945db08975414a3249facce9 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="iso-2022-jp"?>
 <!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="./style/manual.ja.xsl"?>
-<!-- English Revision: 151408 -->
+<!-- English Revision: 151408:344369 (outdated) -->
 
 <!--
  Copyright 2002-2005 The Apache Software Foundation or its licensors,
index a8f6b9759769007c96d40dcda526988daf73ce37..61f791e32a2cbf9581202122820a5d817060a0b5 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='EUC-KR' ?>
 <!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="./style/manual.ko.xsl"?>
-<!-- English Revision: 151408 -->
+<!-- English Revision: 151408:344369 (outdated) -->
 
 <!--
  Copyright 2003-2005 The Apache Software Foundation or its licensors,
index 2c1fe78d4a627b2303e2c4ad19344251372f4878..b7f3c1db76294ef1946b304b7856aee78de2ba85 100644 (file)
@@ -7,7 +7,7 @@
 
   <variants>
     <variant>en</variant>
-    <variant>ja</variant>
-    <variant>ko</variant>
+    <variant outdated="yes">ja</variant>
+    <variant outdated="yes">ko</variant>
   </variants>
 </metafile>
index 78ca71955de874b0f3a4f1bb73f963ceceeb5515..cd71ce79918dce920a28e5ee6da0fe14d62907e7 100644 (file)
@@ -913,7 +913,6 @@ AP_DECLARE(const char *) ap_get_server_name(request_rec *r)
 
     switch (d->use_canonical_name) {
         case USE_CANONICAL_NAME_ON:
-        case USE_CANONICAL_NAME_UNSET:
             retval = r->server->server_hostname;
             break;
         case USE_CANONICAL_NAME_DNS:
@@ -929,6 +928,7 @@ AP_DECLARE(const char *) ap_get_server_name(request_rec *r)
             retval = conn->local_host;
             break;
         case USE_CANONICAL_NAME_OFF:
+        case USE_CANONICAL_NAME_UNSET:
             retval = r->hostname ? r->hostname : r->server->server_hostname;
             break;
         default:
@@ -966,6 +966,7 @@ AP_DECLARE(apr_port_t) ap_get_server_port(const request_rec *r)
     switch (d->use_canonical_name) {
         case USE_CANONICAL_NAME_OFF:
         case USE_CANONICAL_NAME_DNS:
+        case USE_CANONICAL_NAME_UNSET:
             if (d->use_canonical_phys_port == USE_CANONICAL_PHYS_PORT_ON)
                 port = r->parsed_uri.port_str ? r->parsed_uri.port :
                        r->connection->local_addr->port ? r->connection->local_addr->port :
@@ -977,7 +978,6 @@ AP_DECLARE(apr_port_t) ap_get_server_port(const request_rec *r)
                        ap_default_port(r);
             break;
         case USE_CANONICAL_NAME_ON:
-        case USE_CANONICAL_NAME_UNSET:
             /* With UseCanonicalName on (and in all versions prior to 1.3)
              * Apache will use the hostname and port specified in the
              * ServerName directive to construct a canonical name for the