Bill Moseley ([EMAIL PROTECTED]) wrote:
> In an Apache::Registry script I'm print()ing
> 
>    Status: 304 Not Modified
> 
> when the client sends an If-Modified-Since: header.
> 
> The 304 error is returned to the client properly, but the log file shows a
> 200 status.  Can I make Apache log the access as a 304 with my
> Apache::Registry script?  The same script runs someplace else as mod_cgi.

Be sure to return HTTP_NOT_MODIFIED at the end of your script, and not OK.
Also, be sure to explicitly import HTTP_NOT_MODIFIED in your use
Apache::Constants statement, or import the ':http' tag.

darren

Reply via email to