AH00128: File does not exist Nginx / Apache Origin: Edge & web server OSI layer 7 · Application Last updated 5 Nov 2026

Apache: [core:info] AH00128: File does not exist: /var/www/html/favicon.ico (404)

The requested file isn't in the DocumentRoot — a normal 404 entry in the Apache error log.

Exact message you may see AH00128: File does not exist: /var/www/html/favicon.ico[core:info] AH00128: File does not existFile does not exist: /var/www/html/robots.txtAH00128: File does not exist: /var/www/html/[client ] File does not exist: /var/www/html/
Seen on: Apache Linux

Meaning

If the URL should work: check the file name case, DocumentRoot, deployment, and rewrites. For favicon.ico, robots.txt etc. it's just browsers/bots asking — add the file or ignore the entry. With frameworks, missing rewrite to index.php also produces this.

Common causes

  • File missing or wrong case
  • Wrong DocumentRoot
  • Rewrite to front controller not working
  • Bots probing common paths
  • Stale links

⚡ Quick fix

  1. Create/deploy the file or fix the link
  2. Ensure .htaccess rewrite to index.php works (AllowOverride All)
  3. Ignore bot noise (or block with rules)

Detailed fix by platform

Linux

  1. sudo grep AH00128 /var/log/apache2/error.log | awk '{print $NF}' | sort | uniq -c | sort -rn | head

How to diagnose

  1. Path — Should exist?
  2. Case — Matches?
  3. Rewrite — Working?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: Edge & web server. Errors that are often confused with or caused by this one (click to open):

404 — HTTP 404 Not Found (HTTP)404499 — HTTP 499 Client Closed Request (Nginx) (HTTP)499499 Client Closed Request / client prematurely closed connection — Nginx: [info] client prematurely closed connection while reading response header from upstream / access log status 499 (Nginx / Apache)499 Client Closed Req…500 — HTTP 500 Internal Server Error (HTTP)500AH00015: Unable to open logs — Apache: AH00091: apache2: could not open error log file /var/log/apache2/error.log. AH00015: Unable to open logs (Permission denied) (Nginx / Apache)AH00015: Unable to op…AH00037: Symbolic link not allowed or link target not accessible — Apache: [core:error] AH00037: Symbolic link not allowed or link target not accessible: /var/www/html/current (Nginx / Apache)AH00037: Symbolic lin…AH00112: DocumentRoot does not exist — Apache: AH00112: Warning: DocumentRoot [/var/www/example.com/public_html] does not exist (Nginx / Apache)AH00112: DocumentRoot…AH00526: Syntax error on line of apache config — Apache: AH00526: Syntax error on line 12 of /etc/apache2/sites-enabled/site.conf: Invalid command 'Foo', perhaps misspelled or defined by a module not included in the server configuration (Nginx / Apache)AH00526: Syntax error…AH00128: …

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.