in the access_log
by calling Apache::exit( HTTP_NOT_MODIFIED ). But this results in headers
not being properly sent. Here's a test script:
Well, I'm not sure you want to use Apache::exit for the logging purposes.
I think that you should generate the header before you print something
out
in the access_log
by calling Apache::exit( HTTP_NOT_MODIFIED ). But this results in headers
not being properly sent. Here's a test script:
#!/usr/local/bin/perl5.005 -wT
use Apache; # for Apache::exit()
use Apache::Constants qw/OK HTTP_NOT_MODIFIED/;
use CGI;
print CGI::header(-status = '304
#Terminating_requests_and_process
I'm trying to send a 304 error, but also log a 304 error in the access_log
by calling Apache::exit( HTTP_NOT_MODIFIED ). But this results in headers
not being properly sent. Here's a test script:
#!/usr/local/bin/perl5.005 -wT
use Apache; # for Apache::exit
. Are
you saying that I can't call Apache::exit( HTTP_NOT_MODIFIED ) in an
Apache::Registry script?
HTTP/1.1 304 (Not Modified) Same old document
Connection: close
Date: Tue, 23 Nov 1999 21:12:44 GMT
Server: Apache/1.3.9 (Unix) mod_perl/1.21
Content-Type: text/html
Client-Date: Tue, 23 Nov