Problem
We need a lightweight self-contained page for 404s served by Apache2.
Description
Currently a generic Apache2 page is used.
Command:
http 'http://localhost:8080/licenses/not_found.html'
Output:
HTTP/1.1 404 Not Found
Connection: Keep-Alive
Content-Length: 313
Content-Type: text/html; charset=iso-8859-1
Date: Thu, 06 Aug 2026 08:08:09 GMT
Keep-Alive: timeout=5, max=100
Server: Apache/2.4.67 (Debian)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
<hr>
<address>Apache/2.4.67 (Debian) Server at localhost Port 8080</address>
</body></html>
This problem also exists in production: https://creativecommons.org/licenses/not_found.html
Additional context
Implementation
Problem
We need a lightweight self-contained page for 404s served by Apache2.
Description
Currently a generic Apache2 page is used.
Command:
http 'http://localhost:8080/licenses/not_found.html'Output:
This problem also exists in production: https://creativecommons.org/licenses/not_found.html
Additional context
Implementation