Error

Just for fun, I want to make error pages here.

And according to this answer, add these lines to .htaccess

ErrorDocument 404 /404.html
ErrorDocument 500 /404.html
ErrorDocument 403 /404.html
ErrorDocument 400 /404.html
ErrorDocument 401 /401.html

But, since I'm using pmwiki's system to provide that error message, I used the following lines instead:

## To handle errors, I'd use my wiki engine instead
ErrorDocument 404 /wiki/pmwiki.php?n=Error.404
ErrorDocument 500 /wiki/pmwiki.php?n=Error.404
ErrorDocument 403 /wiki/pmwiki.php?n=Error.403
ErrorDocument 400 /wiki/pmwiki.php?n=Error.404
ErrorDocument 401 /wiki/pmwiki.php?n=Error.401

More information about error pages here. If you're feeling curious, feel free to also check on Wikipedia's article about HTTP 404.