1. Home
  2. Domains
  3. How to See Apache Errors

How to See Apache Errors

Introduction

It is possible to view Apache errors using the Domain Access Log in the MG panel. However, it is not possible to extract an Apache error report (Apache error_log).

The Apache log file (Error_log) stores errors generated by the server (web site) or hosted application. It may contain syntax errors in the Apache configuration, PHP errors (if Apache handles PHP), 500 errors (Internal Server Error), permission errors (403 Forbidden), or warnings related to Apache modules.

Prerequisites

Enter the following address in your web browser: https://mg.n0c.com/en/.

Definitions

Access_log : Apache log that records all HTTP requests received by the server (website). It includes information such as the client’s IP address, the date or time, the HTTP method (GET, POST, etc.), the URL requested, the server response code (200, 404, 500, etc.), the size of the response, and sometimes the user agent, such as the browser, a robot (bot), and so on. It is useful for analyzing traffic and detecting any anomalies. This is the information you see in the access log of the MG panel (see the article How to Use Access Logs).

Firewall log WAF : this file contains logs of requests blocked by the application firewall before they reach the web server. It records detected attacks, such as SQL injections, directory traversal attempts, XSS (cross-site scripting) and other suspicious behavior. These logs are in the MG panel, Security section (each ID corresponds to a rule in WAF). Please refer to the article How to Configure the Web App Firewall (WAF) and View Firewall History.

How to See Apache Errors

Here are the steps to follow:

  1. Open the access log, as explained in the article How to Use Access Logs.
  2. Click on the HTTP Response drop-down list and select only 400 and 500:
  1. As described in How to Use Access Logs article, apply your search filters.
  2. Click on the Search button.
  3. All errors, including those that would be part of the Apache error_log, then appear in the Results displayed at the bottom of the screen.
Updated on February 27, 2025

Related Articles