I believe the reason the URLs in global.ent have the "-306" attached
to www are because we occasionally run a script that checks all of the
URLs in the manual; if a given URL reports a 301 ("Moved
Permanently"), then global.ent is updated to reflect the "preferred"
URL.

This is actually IBM's fault; if the change of URL is not permanent,
then they should be using 302 status codes. Instead, there are a mix
of 302 and 301 status codes. See below for a wget request on
"http://ibm.com/db2";.

Otherwise, we could just point to nice, neat URLs like
"http://ibm.com/db2/"; instead of
"http://www-306.ibm.com/software/data/db2"; (which are actually subject
to change, despite the 301 claiming otherwise).

$ wget --save-headers http://ibm.com/db2
--08:58:01--  http://ibm.com/db2
           => `db2'
Resolving ibm.com... 129.42.17.103, 129.42.18.103, 129.42.16.103
Connecting to ibm.com|129.42.17.103|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.ibm.com/db2 [following]
--08:58:01--  http://www.ibm.com/db2
           => `db2'
Resolving www.ibm.com... 129.42.34.212
Connecting to www.ibm.com|129.42.34.212|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://www.ibm.com/software/data/db2 [following]
--08:58:01--  http://www.ibm.com/software/data/db2
           => `db2'
Reusing existing connection to www.ibm.com:80.
HTTP request sent, awaiting response... 302 Found
Location: http://www-306.ibm.com/software/data/db2 [following]
--08:58:02--  http://www-306.ibm.com/software/data/db2
           => `db2'
Resolving www-306.ibm.com... 207.25.251.249
Connecting to www-306.ibm.com|207.25.251.249|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www-306.ibm.com/software/data/db2/ [following]
--08:58:02--  http://www-306.ibm.com/software/data/db2/
           => `index.html.1'
Reusing existing connection to www-306.ibm.com:80.
HTTP request sent, awaiting response... 200 OK
Length: 30,661 (30K) [text/html]

100%[====================================>] 30,661       133.90K/s

08:58:02 (133.46 KB/s) - `index.html' saved [30661/30661]

Dan

On 3/20/06, Caroline Maynard <[EMAIL PROTECTED]> wrote:
> cem             Mon Mar 20 13:50:26 2006 UTC
>
>   Modified files:
>     /phpdoc/entities    global.ent
>   Log:
>   Add Tuscany URL
>   Remove cluster-node specifics from IBM URLs
>
> http://cvs.php.net/viewcvs.cgi/phpdoc/entities/global.ent?r1=1.260&r2=1.261&diff_format=u
> Index: phpdoc/entities/global.ent
> diff -u phpdoc/entities/global.ent:1.260 phpdoc/entities/global.ent:1.261
> --- phpdoc/entities/global.ent:1.260    Fri Feb 24 10:30:43 2006
> +++ phpdoc/entities/global.ent  Mon Mar 20 13:50:26 2006
> @@ -1,6 +1,6 @@
>  <!-- -*- SGML -*-
>
> - $Id: global.ent,v 1.260 2006/02/24 10:30:43 mazzanet Exp $
> + $Id: global.ent,v 1.261 2006/03/20 13:50:26 cem Exp $
>
>   Contains global "macros" for all the XML documents.
>
> @@ -15,6 +15,7 @@
>  <!ENTITY url.apache2.windows 
> "http://httpd.apache.org/docs/2.0/platform/windows.html";>
>  <!ENTITY url.apache.source "http://www.apache.org/dist/httpd/";>
>  <!ENTITY url.apache.core "http://httpd.apache.org/docs/2.0/en/mod/core.html";>
> +<!ENTITY url.apache.tuscany "http://incubator.apache.org/tuscany/";>
>  <!ENTITY url.apc.technotes 
> "http://cvs.php.net/co.php/pecl/apc/TECHNOTES.txt";>
>  <!ENTITY url.apd "http://apd.communityconnect.com/";>
>  <!ENTITY url.apt-get "http://www.apt-get.org/";>
> @@ -119,10 +120,10 @@
>  <!ENTITY url.hyperwave "http://www.hyperwave.com/";>
>  <!ENTITY url.iicm "http://www.iicm.edu/";>
>  <!ENTITY url.ibase "http://www.borland.com/interbase/";>
> -<!ENTITY url.ibm.db2.client 
> "http://www-306.ibm.com/software/data/db2/udb/support/downloadv8.html";>
> -<!ENTITY url.ibm.sdo 
> "http://www-128.ibm.com/developerworks/java/library/j-commonj-sdowmt/";>
> +<!ENTITY url.ibm.db2.client 
> "http://www.ibm.com/software/data/db2/udb/support/downloadv8.html";>
> +<!ENTITY url.ibm.sdo 
> "http://www.ibm.com/developerworks/java/library/j-commonj-sdowmt/";>
>  <!ENTITY url.ibm.sdo.spec 
> "ftp://www6.software.ibm.com/software/developer/library/j-commonj-sdowmt/Commonj-SDO-Specification-v2.0.pdf";>
> -<!ENTITY url.ibmdb2 "http://www-306.ibm.com/software/data/db2/";>
> +<!ENTITY url.ibmdb2 "http://www.ibm.com/software/data/db2/";>
>  <!ENTITY url.icu "http://icu.sourceforge.net/";>
>  <!ENTITY url.icu.locales 
> "http://www-950.ibm.com/software/globalization/icu/demo/locales/en/?d_=en";>
>  <!ENTITY url.iis "http://support.microsoft.com/kb/q160422/";>
> @@ -131,7 +132,7 @@
>  <!ENTITY url.imap.book "http://www.oreilly.com/catalog/mimap/noframes.html";>
>  <!ENTITY url.imode "http://www.nttdocomo.com/corebiz/services/imode/";>
>  <!ENTITY url.informix.connectionstring 
> "http://publib.boulder.ibm.com/infocenter/ids9help/topic/com.ibm.odbc.doc/odbcmst72.htm";>
> -<!ENTITY url.informix.csdk 
> "http://www-306.ibm.com/software/data/informix/tools/csdk/";>
> +<!ENTITY url.informix.csdk 
> "http://www.ibm.com/software/data/informix/tools/csdk/";>
>  <!ENTITY url.informix.dsn 
> "http://publib.boulder.ibm.com/infocenter/ids9help/topic/com.ibm.odbc.doc/odbcmst62.htm";>
>  <!ENTITY url.infozip "http://www.info-zip.org/pub/infozip/";>
>  <!ENTITY url.installkits 
> "http://www.hotscripts.com/PHP/Software_and_Servers/Installation_Kits/";>
>

Reply via email to