You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Lars Eilebrecht <La...@unix-ag.org> on 1997/09/18 13:51:42 UTC

[DOC] FAQ patch about year 2000

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/

Re: [DOC] FAQ patch about year 2000

Posted by Martin Kraemer <Ma...@mch.sni.de>.
On Fri, Sep 19, 1997 at 02:03:36AM +0200, Lars Eilebrecht wrote:
> According to Marc Slemko:
> 
> >  are we sure Apache won't start spitting out dates in the form
> >  100, 101, etc. at y2k?  That is what applications just using the
> >  strut without doing anything to it will do.
> 
Even
    touch 010203042037 /usr/local/etc/http/htdocs/future
and then fetching a mod_autoindex listing of it gives me
    future                 02-Jan-37 03:04     0k
so we apparently don't have the problem of "137".

    Martin
-- 
| S I E M E N S |  <Ma...@mch.sni.de>  |      Siemens Nixdorf
| ------------- |   Voice: +49-89-636-46021     |  Informationssysteme AG
| N I X D O R F |   FAX:   +49-89-636-44994     |   81730 Munich, Germany
~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on request


Re: [DOC] FAQ patch about year 2000

Posted by Lars Eilebrecht <La...@unix-ag.org>.
According to Marc Slemko:

>  are we sure Apache won't start spitting out dates in the form
>  100, 101, etc. at y2k?  That is what applications just using the
>  strut without doing anything to it will do.

Hmmm...

-snip-

 sfx@doubleshadow[~/httpd/htdocs] touch -t 122412122011 index.html
 sfx@doubleshadow[~/httpd/htdocs] ls -l index.html 
 -rw-r-----   1 sfx      staff       555 Dec 24  2011 index.html
 sfx@doubleshadow[~/httpd/htdocs] date --set '10 Dec 2037'
 sfx@doubleshadow[~] httphead localhost 80
 HTTP/1.1 200 OK
 Date: Wed, 09 Dec 2037 23:00:07 GMT
 Server: Apache/1.3a2-dev
 Last-Modified: Sat, 24 Dec 2011 11:12:00 GMT
 ETag: "26153-22b-4ef5b394"
 Content-Length: 555
 Accept-Ranges: bytes
 Connection: close
 Content-Type: text/html
 sfx@doubleshadow[~/httpd/htdocs] tail -1 ../logs/access.log
 localhost - - [10/Dec/2037:00:00:07 +0100] "HEAD / HTTP/1.0" 200 0

-snap-

If anything will fail beyond y2k we still can blame the underlying
OS to be broken. ;-)

ciao...
--
Lars Eilebrecht                         - I may not be totally perfect,
sfx@unix-ag.org                        - but parts of me are excellent.
http://www.si.unix-ag.org/~sfx/

Re: [DOC] FAQ patch about year 2000

Posted by Marc Slemko <ma...@worldgate.com>.
On Thu, 18 Sep 1997, Lars Eilebrecht wrote:

+     The <code>asctime()</code> 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 <code>20</code> rather than <code>19</code>.

Don't have time to check right now, but..

are we sure Apache won't start spitting out dates in the form
100, 101, etc. at y2k?  That is what applications just using the
strut without doing anything to it will do.