Hi,
I am new to Apache modules and I am trying to open a file in the hook
post_read_request and write to the file in log_transaction. The file
is supposed to be only valid for the duration of the request and is
named with a unique identifier (created by mod_unique_id). The
apr_file_t is carried, w
On Tue, Sep 9, 2008 at 16:10, Andrej van der Zee
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am new to Apache modules and I am trying to open a file in the hook
> post_read_request and write to the file in log_transaction. The file
> is supposed to be only valid for the duration of the request and is
>
Hi,
Thanks for your reply.
I found that I memset() the req_cfg to 0 *after *I open the file. I am sorry
for wasting your time Anyway, please read on for more comments
>
> Maybe you fail to open the file and the error is not logged correctly.
Write
>
> ap_log_error(APLOG_MARK, APLOG_ERR,
On Tue, Sep 9, 2008 at 17:21, Andrej van der Zee
<[EMAIL PROTECTED]> wrote:
>> Maybe you fail to open the file and the error is not logged correctly.
> Write
>>
>> ap_log_error(APLOG_MARK, APLOG_ERR, 0, r->server, "Failed to create
>> resource log file: %s", req_cfg->filepath);
>>
>> instead of
>>
Hi,
> > 1) What is the "recommended" way to carry the
> > GET/POST request identifier (inserted by the
> > developer of the web page) from the client
> > to Apache?
>
>You're not going to get the browser to send
> a custom header by any changes you make to the
> page, except possibly using Aj