perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "LUKE" <l...@tc.program.com.tw>
Subject The Last-Modified header issue!
Date Sun, 18 Dec 2005 14:47:02 GMT
The apache v2.055 (mod_perl v2.02) will modify the  Last-Modified's value automatically.

If the OS time is "Sun, 18 Dec 2005 14:25:01 GMT" .
And print out the  Last-Modified header whith 
print "Last-Modified: Sun, 18 Dec 2005 14:28:01 GMT\n";

The apache will modify the value with "Sun, 18 Dec 2005 14:25:01 GMT" automatically.
And the browser will receive the error result. How to override the  Last-Modified's value

using perl?

====httpd.conf=================================================
Alias /Test/ /usr/local/Test/cgi-bin/
<Location /Test/>
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlSendHeader On
Options +ExecCGI
</Location>

Mime
View raw message