Name

ap_log_reason — log an access failure

Synopsis

void ap_log_reason (const char *reason, const char *file, request_rec *r)

Logs a message of the form “access to file failed for remotehost, reason: reason.” The remote host is extracted from r. The message is logged with ap_log_error() at level APLOG_ERR.

Get Apache: The Definitive Guide, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.