My website works great; Google Cloud Platform VM running Ubuntu and Apache2. Well, except for one thing; I can't get 404 pages to work. I followed several guides and managed to do something really dumb.
This is the result of a 404:
This is the actual 404 document (the contents of /404.html
):
<!doctype html>
<head>
<title>404</title>
</head>
<body>
<h1>404 :(</h1>
This page doesn't exist. Sorry!
<br><br>
You can <button onclick="history.back();">Go back</button>,
jump to the <a href="/">Site root</a>, or the <a href="/kcp">KCP root</a>.
</body>
I've deleted every .htaccess
file and every ErrorDocument ...
line I can find, trying to restore the default behavior.
UPDATE: Found the errant line, thanks!