On Tue, 25 Jun 2002, Stas Bekman wrote:
> Has anybody tried to use the Apache::LOG_TOCLIENT constant in 2.0? It's
> supposed to tell log_rerror() to send the error to the client in
> addition to logging it.
>
> I'm trying:
>
> $r->log_rerror(Apache::LOG_MARK, Apache::LOG_ERR|Apache::LOG_TOCLIENT,
> APR::ENOTIME, "request log_rerror");
>
> but the message is only logged and not sent to the client.
Apache::LOG_TOCLIENT just means put the message into
$r->notes->{'error-notes'}. the ErrorDocument or default error handler
needs to actually send the value of error-notes to the client.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]