summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author53hornet <atc@53hor.net>2021-12-11 12:25:06 -0500
committer53hornet <atc@53hor.net>2021-12-11 12:25:06 -0500
commit5f96592609c82cfff9056b799782e1dd6ebbeef9 (patch)
tree6a3597cc2bcb32f8db621e5e0810c387751cfcd6
parent4479bd0a4164098895a394a4fca4469c8b061040 (diff)
downloadwww-5f96592609c82cfff9056b799782e1dd6ebbeef9.tar.xz
www-5f96592609c82cfff9056b799782e1dd6ebbeef9.zip
feat: route all php through index
-rw-r--r--usr/local/etc/lighttpd/lighttpd.conf1
1 files changed, 1 insertions, 0 deletions
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"