First page Back Continue Last page Overview Graphics
PostReadRequest
Hook that comes immediately after request is read by Apache and headers are processed
Useful for preprocessing that needs to be done once per request
Example: Set special Perl variable $^T ($BASETIME) for use with –M –A and –C filetests
Notes:
$^T ($BASETIME) The time at which the program began running, in seconds since the epoch (beginning of 1970). The values returned by the -M, -A, and -C filetests are based on this value.
In mod_perl, this can’t be used normally since the “program” is the Apache child process!