creativecommons / creativecommons/index-dev-env

Need a lightweight self-contained page for 404s served by Apache2

Open
#124 0 comments 0 reactions 1 assignee Claimed by @possumbilities View on GitHub
✨ goal: improvement 💻 aspect: code 🚦 status: awaiting triage 🟩 priority: low
Dominant language
Shell
Stars
8
Forks
5
Avg merge
2d 7h
Merged PRs (30d)
2

Description

## Problem
We need a lightweight self-contained page for 404s served by Apache2.

## Description
Currently a generic Apache2 page is used.

Command:
```shell
http 'http://localhost:8080/licenses/not_found.html'
```
Output:
```http
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)
```
```html

404 Not Found

Not Found


The requested URL was not found on this server.




Apache/2.4.67 (Debian) Server at localhost Port 8080

```

This problem also exists in production: https://creativecommons.org/licenses/not_found.html

## Additional context
- [404 Not Found - HTTP | MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/404)
- [Custom Error Responses - Apache HTTP Server Version 2.4](https://httpd.apache.org/docs/2.4/custom-error.html)

## Implementation

- [ ] I would be interested in implementing this feature.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.