Return-Path: Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 43855 invoked by uid 500); 5 Jul 2002 03:28:08 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 43844 invoked by uid 500); 5 Jul 2002 03:28:08 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Date: 5 Jul 2002 03:28:06 -0000 Message-ID: <20020705032806.1078.qmail@icarus.apache.org> From: rbowen@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0/docs/manual/mod core.html.en core.xml X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N rbowen 2002/07/04 20:28:06 Modified: docs/manual/mod core.html.en core.xml Log: Submitted by: Owen Boyle, on users@ mailing list Additional clarification on UseCanonicalName directive. Revision Changes Path 1.11 +17 -9 httpd-2.0/docs/manual/mod/core.html.en Index: core.html.en =================================================================== RCS file: /home/cvs/httpd-2.0/docs/manual/mod/core.html.en,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- core.html.en 15 Jun 2002 02:48:16 -0000 1.10 +++ core.html.en 5 Jul 2002 03:28:05 -0000 1.11 @@ -1684,20 +1684,27 @@

In many situations Apache has to construct a self-referential URL. That is, a URL which refers back to the same server. With UseCanonicalName on Apache will - use the hostname and port specified in the ServerName directive to construct a canonical + use the hostname and port specified in the ServerName directive to construct the canonical name for the server. This name is used in all self-referential URLs, and for the values of SERVER_NAME and SERVER_PORT in CGIs.

+

For example, if ServerName is set to + www.example.com and Port is set + to 9090, then the canonical name of the server + is www.example.com:9090. In the event that + Port has its default value of + 80, the :80 is ommitted from the + canonical name.

+

With UseCanonicalName off Apache will form self-referential URLs using the hostname and port supplied by the client if any are supplied (otherwise it will use the - canonical name). These values are the same that are used to - implement name based - virtual hosts, and are available with the same clients. The - CGI variables SERVER_NAME and - SERVER_PORT will be constructed from the client - supplied values as well.

+ canonical name, as defined above). These values are the same + that are used to implement name based virtual hosts, + and are available with the same clients. The CGI variables + SERVER_NAME and SERVER_PORT will be + constructed from the client supplied values as well.

An example where this may be useful is on an intranet server where you have users connecting to the machine using short @@ -1707,8 +1714,9 @@ slash then Apache will redirect them to http://www.domain.com/splat/. If you have authentication enabled, this will cause the user to have to - reauthenticate twice (once for www and once again - for www.domain.com). But if + authenticate twice (once for www and once again + for www.domain.com -- see the + FAQ on this subject for more information). But if UseCanonicalName is set off, then Apache will redirect to http://www/splat/.

1.18 +19 -9 httpd-2.0/docs/manual/mod/core.xml Index: core.xml =================================================================== RCS file: /home/cvs/httpd-2.0/docs/manual/mod/core.xml,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- core.xml 15 Jun 2002 02:48:16 -0000 1.17 +++ core.xml 5 Jul 2002 03:28:06 -0000 1.18 @@ -2441,20 +2441,28 @@ self-referential URL. That is, a URL which refers back to the same server. With UseCanonicalName on Apache will use the hostname and port specified in the ServerName directive to construct a canonical + module="core">ServerName directive to construct the canonical name for the server. This name is used in all self-referential URLs, and for the values of SERVER_NAME and SERVER_PORT in CGIs.

+

For example, if ServerName is set to + www.example.com and Port is set + to 9090, then the canonical name of the server + is www.example.com:9090. In the event that + Port has its default value of + 80, the :80 is ommitted from the + canonical name.

+

With UseCanonicalName off Apache will form self-referential URLs using the hostname and port supplied by the client if any are supplied (otherwise it will use the - canonical name). These values are the same that are used to - implement name based - virtual hosts, and are available with the same clients. The - CGI variables SERVER_NAME and - SERVER_PORT will be constructed from the client - supplied values as well.

+ canonical name, as defined above). These values are the same + that are used to implement name based virtual hosts, + and are available with the same clients. The CGI variables + SERVER_NAME and SERVER_PORT will be + constructed from the client supplied values as well.

An example where this may be useful is on an intranet server where you have users connecting to the machine using short @@ -2464,8 +2472,10 @@ slash then Apache will redirect them to http://www.domain.com/splat/. If you have authentication enabled, this will cause the user to have to - reauthenticate twice (once for www and once again - for www.domain.com). But if + authenticate twice (once for www and once again + for www.domain.com -- see the + FAQ on this subject for more information). But if UseCanonicalName is set off, then Apache will redirect to http://www/splat/.