might just be that the access_log is buffered. I sometimes disable that
during development with this patch:
diff -u mod_log_config.c~ mod_log_config.c
--- mod_log_config.c~ Fri Oct 8 11:55:11 1999
+++ mod_log_config.c Thu Nov 18 16:32:23 1999
@@ -175,6 +175,8 @@
#include "http_log.h"
#include <limits.h>
+#undef BUFFERED_LOGS
+
module MODULE_VAR_EXPORT config_log_module;
static int xfer_flags = (O_WRONLY | O_APPEND | O_CREAT);
On Wed, 24 Nov 1999, Jim Goodwin wrote:
> Our modperl scripts run as .pl on our Stronghold server. The conf file
> has this added:
>
> # Execute .pl scripts as mod_perl
> <Files *.pl>
> SetHandler perl-script
> PerlHandler Apache::Registry
> Options ExecCGI
> PerlSendHeader On
> </Files>
>
> The scripts run OK, but we are getting only one 'hit' recorded in the
> access log files when the .pl script initially starts. After that,
> subsequent calls to the .pl script do not appear in the access log file.
>
> If I add a use Apache::Constants; to the .pl script, the access log
> appears to increment properly.
>
> Is this the proper use of the Constants.pm? Does the .pl script still
> run as a modperl script in this case? Is there any additional processing
> overhead involved?
>
> Sorry if this question has been answered previously. I could not find
> anything on it anywhere.
>
> Thanks for your help.
>
> Jim Goodwin
>
>