nerdexam
EC-Council

312-49 · Question #601

The Apache server saves diagnostic information and error messages that it encounters while processing requests. The default path of this file is usr/local/apache/logs/error.log in Linux. Identify…

The correct answer is B. [Wed Oct 11 14:32:52 2000] [error] [client 127.0.0.1] client denied by server configuration: /export/. The question requires identifying a typical Apache error log entry from several log examples.

Submitted by tyler.j· Apr 18, 2026Network Forensics

Question

The Apache server saves diagnostic information and error messages that it encounters while processing requests. The default path of this file is usr/local/apache/logs/error.log in Linux. Identify the Apache error log from the following logs. c0% af../..%c0%af../winnt/system32/cmd.exe?/c+dir+C:\Winnt\system32\Logfiles\W3SVC1

Options

  • B[Wed Oct 11 14:32:52 2000] [error] [client 127.0.0.1] client denied by server configuration: /export/
  • C127.0.0.1 - frank [10/Oct/2000:13:55:36 -0700]"GET /apache_pb.gif HTTP/1.0" 200 2326
  • D127.0.0.1 - - [10/Apr/2007:10:39:11 +0300] ] [error] "GET /apache_pb.gif HTTP/1.0" 200 2326

How the community answered

(35 responses)
  • B
    89% (31)
  • C
    9% (3)
  • D
    3% (1)

Why each option

The question requires identifying a typical Apache error log entry from several log examples.

B[Wed Oct 11 14:32:52 2000] [error] [client 127.0.0.1] client denied by server configuration: /export/Correct

An Apache error log entry specifically includes the `[error]` keyword within the timestamp and client information, clearly indicating a server error or warning, such as 'client denied by server configuration: /export/'.

C127.0.0.1 - frank [10/Oct/2000:13:55:36 -0700]"GET /apache_pb.gif HTTP/1.0" 200 2326

This entry format, starting with an IP address, containing a `GET` request, and a `200` status code, is characteristic of an Apache *access* log, not an error log.

D127.0.0.1 - - [10/Apr/2007:10:39:11 +0300] ] [error] "GET /apache_pb.gif HTTP/1.0" 200 2326

While it contains `[error]`, the structure is malformed with an extra `]` and a `200` status code for a `GET` request followed by `[error]` is contradictory for a typical error log, which usually reports failures.

Concept tested: Apache log analysis (error logs)

Source: https://httpd.apache.org/docs/2.4/logs.html#errorlog

Topics

#Apache logs#Error logs#Log analysis#Server logs

Community Discussion

No community discussion yet for this question.

Full 312-49 Practice