The following reply was made to PR mod_cgi/3497; it has been noted by GNATS.
From: Sven Carstens <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Cc: Subject: Re: mod_cgi/3497: Last-Modified Date set to 1.1.1970
Date: Sat, 05 Dec 1998 21:02:28 +0100
[EMAIL PROTECTED] wrote:
> Please send a script that demonstrates the problem.
>
> How are you determining that "the header is overwritten partially"?
>
> This really sounds like either your script or your method
> of determining the last-modified are broken and is unlikely
> to be an Apache problem.
Here is a little script that shows the problem.
-------------------- script start
#!/usr/bin/perl
print <<HTML;
Server: I added a comment here
Last-Modified: Sat, 5 Dec 98 20:54:19 GMT
Content-Type: text/html
<HTML>
<HEAD>
<TITLE>Test Page for Error</TITLE>
</HEAD>
<BODY
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#000080"
ALINK="#FF0000"
>
<H1 ALIGN="CENTER">
It Worked! (or not)
</H1>
</BODY>
</HTML>
HTML
-------------------- script end
will result in the following output
--------------------output start
HTTP/1.1 200 OK
Date: Sat, 05 Dec 1998 20:00:29 GMT
Server: Apache/1.3.3 (Unix)
Last-Modified: Thu, 01 Jan 1970 00:00:00 GMT
Connection: close
Content-Type: text/html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE>Test Page for Error</TITLE>
</HEAD>
<BODY
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#000080"
ALINK="#FF0000"
>
<H1 ALIGN="CENTER">
It Worked! (or not)
</H1>
</BODY>
</HTML>
---------------------output end
CU sven