httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ricardo13 <>
Subject [users@httpd] mod_log_config
Date Fri, 12 Jun 2009 19:02:11 GMT


I'm testing the mod_log_config.

I did a simple program to read stardard input. Called program.c

#include <stdio.h>
int main() {
    char input[BUFSIZ];
    while(fgets(input, BUFSIZ, stdin) != NULL)
       printf("Value: %s\n", input);
    return 0;

I configured httpd.conf to send information log to this program.

LogFormat "%D" common
CustomLog "|/usr/local/apache2/program" common

But When I request a page doesn't show "Value: 1234" in the prompt, for
What's wrong ?? Anyone has a example ??


View this message in context:
Sent from the Apache HTTP Server - Users mailing list archive at

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message