Received: (from majordom@localhost) by hyperreal.org (8.8.5/8.8.5) id EAA05092; Thu, 18 Sep 1997 04:50:33 -0700 (PDT) Received: from harley.unix-ag.uni-siegen.de (harley.unix-ag.uni-siegen.de [141.99.42.44]) by hyperreal.org (8.8.5/8.8.5) with ESMTP id EAA05080 for ; Thu, 18 Sep 1997 04:50:28 -0700 (PDT) Received: from doubleshadow.unix-ag.org (sfx@isdn79.hrz.uni-siegen.de [141.99.174.79]) by harley.unix-ag.uni-siegen.de (Mailhost) with ESMTP id NAA14117 for ; Thu, 18 Sep 1997 13:50:22 +0200 Received: (from sfx@localhost) by doubleshadow.unix-ag.org (Mailhost) id NAA01058 for new-httpd@apache.org; Thu, 18 Sep 1997 13:51:42 +0200 Message-ID: X-Mailer: XFMail 1.2-alpha [p0] on Linux X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_=XFMail.1.2-alpha.p0.Linux:970918135142:509=_" Date: Thu, 18 Sep 1997 13:51:42 +0200 (CEST) Organization: German Unix-AG Association From: Lars Eilebrecht To: (Apache Group) Subject: [DOC] FAQ patch about year 2000 Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org This message is in MIME format --_=XFMail.1.2-alpha.p0.Linux:970918135142:509=_ Content-Type: text/plain; charset=iso-8859-1 Hi, the attached patch adds some lines about year 2000 compliance to the FAQ (and it includes an addition to an other FAQ, I posted it several times before, but it was always ignored). Please commit (if there are no typos/bugs in it). ciao... -- Lars Eilebrecht - Programmers do it all night long. sfx@unix-ag.org http://www.si.unix-ag.org/~sfx/ --_=XFMail.1.2-alpha.p0.Linux:970918135142:509=_ Content-Disposition: attachment; filename="faq-y2k.patch" Content-Transfer-Encoding: 7bit Content-Description: faq-y2k.patch Content-Type: text/plain; charset=us-ascii; name=faq-y2k.patch; SizeOnDisk=2453 Index: apachen/htdocs/manual/misc/FAQ.html =================================================================== RCS file: /cvs/apachen/htdocs/manual/misc/FAQ.html,v retrieving revision 1.86 diff -u -r1.86 FAQ.html --- FAQ.html 1997/08/02 21:57:40 1.86 +++ FAQ.html 1997/09/18 11:49:31 @@ -252,6 +252,8 @@
  • Where can I find the "CGI specification"?
  • +
  • Is Apache year 2000 compliant? +
  • @@ -1351,10 +1353,11 @@

    The canonical location for Apache's core-dump files is the - ServerRoot - directory. + ServerRoot + directory. Since Apache version 1.3 the location can be set via + CoreDumpDirectory + to a different directory. Make sure that this directory is + writable by the user the server runs as.


    @@ -2046,6 +2049,34 @@ >http://www.ast.cam.ac.uk/~drtr/cgi-spec.html>. +

    +
    + +
  • + Is Apache year 2000 compliant? + +

    + Yes, Apache is year 2000 compliant. +

    +

    Apache internally never stores years as two digits. + On the HTTP protocol level RFC1123-style addresses are generated + which is the only format a HTTP/1.1-compliant server should + generate. To be compatible with older applications Apache + recognizes ANSI C's asctime() and + RFC850-/RFC1036-style date formats, too. + The asctime() format uses four-digit years, + but the RFC850 and RFC1036 date format only defines a two-digit year. + If Apache sees such a date with a value less than 70 it assumes that + the century is 20 rather than 19. +

    +

    Although Apache is year 2000 compliant you may still get problems + if the underlying OS has problems with dates past year 2000 + (eg. OS calls which accept or return year numbers). + Most (Unix) systems store dates internally as signed 32bit integers + which contain the number of seconds since 1st january 1970, so + the magic boundary to worry about is the year 2038 and not 2000. + But modern operating systems shouldn't cause any trouble + at all.


  • --_=XFMail.1.2-alpha.p0.Linux:970918135142:509=_-- End of MIME message