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>
 

Reply via email to