From 5f96592609c82cfff9056b799782e1dd6ebbeef9 Mon Sep 17 00:00:00 2001 From: 53hornet Date: Sat, 11 Dec 2021 12:25:06 -0500 Subject: feat: route all php through index --- usr/local/etc/lighttpd/lighttpd.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/usr/local/etc/lighttpd/lighttpd.conf b/usr/local/etc/lighttpd/lighttpd.conf index c165e62..8fc90fb 100644 --- a/usr/local/etc/lighttpd/lighttpd.conf +++ b/usr/local/etc/lighttpd/lighttpd.conf @@ -4,6 +4,7 @@ include "conf.d/dirlisting.conf" include "conf.d/mime.conf" include "conf.d/cgi.conf" index-file.names += ("index.php") +server.error-handler-404 = "/index.php" server.document-root = "/var/www" server.errorlog = log_root + "/error.log" server.breakagelog = log_root + "/breakage.log" -- cgit v1.2.3