If you are using Caddy 2 web server, the handle_errors directive allows creating a new rule for serving a custom page on a 404 error. In this example I have created a custom 404 template in a file named 404.php and the following directive is set:...
If you are using Caddy 2 web server, the handle_errors directive allows creating a new rule for serving a custom page on a 404 error. In this example I have created a custom 404 template in a file named 404.php and the following directive is set:...