From 9c42aeea08873e3b084cce7b1f548cdb76847099 Mon Sep 17 00:00:00 2001 From: Ken Coar Date: Thu, 18 Sep 1997 13:00:15 +0000 Subject: [PATCH] Add a FAQ about Y2K compliance. Submitted by: Lars Eilebrecht git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79284 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/misc/FAQ.html | 53 +++++++++++++++++++++++++++++++++++++-- 1 file changed, 51 insertions(+), 2 deletions(-) diff --git a/docs/manual/misc/FAQ.html b/docs/manual/misc/FAQ.html index 82ba7466c5..50e66a1743 100644 --- a/docs/manual/misc/FAQ.html +++ b/docs/manual/misc/FAQ.html @@ -15,7 +15,7 @@

Apache Server Frequently Asked Questions

- $Revision: 1.88 $ ($Date: 1997/09/17 16:32:21 $) + $Revision: 1.89 $ ($Date: 1997/09/18 13:00:15 $)

The latest version of this FAQ is always available from the main @@ -252,6 +252,8 @@

  • Where can I find the "CGI specification"?
  • +
  • Is Apache Year 2000 compliant? +
  • @@ -1354,7 +1356,9 @@ ServerRoot directory. As of Apache version 1.3, the location can be set via the - CoreDumpDirectory + CoreDumpDirectory directive to a different directory. Make sure that this directory is writable by the user the server runs as (as opposed to the user the server is started as). @@ -2054,6 +2058,51 @@


    +
  • + 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 formats only define 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. +

    +

    + Some aspects of Apache's output may use two-digit years, such as the + automatic listing of directory contents provided by + mod_autoindex + with the + FancyIndexing + option enabled, but it is improper to depend upon such displays for + specific syntax. And even that issue is being addressed by the + developers; a future version of Apache should allow you to format that + display as you like. +

    +

    + Although Apache is Year 2000 compliant, you may still get problems + if the underlying OS has problems with dates past year 2000 + (e.g., OS calls which accept or return year numbers). + Most (UNIX) systems store dates internally as signed 32-bit 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. +

    +
    +
  • -- 2.40.0