diff options
author | 53hornet <atc@53hor.net> | 2021-12-11 12:25:06 -0500 |
---|---|---|
committer | 53hornet <atc@53hor.net> | 2021-12-11 12:25:06 -0500 |
commit | 5f96592609c82cfff9056b799782e1dd6ebbeef9 (patch) | |
tree | 6a3597cc2bcb32f8db621e5e0810c387751cfcd6 | |
parent | 4479bd0a4164098895a394a4fca4469c8b061040 (diff) | |
download | www-5f96592609c82cfff9056b799782e1dd6ebbeef9.tar.xz www-5f96592609c82cfff9056b799782e1dd6ebbeef9.zip |
feat: route all php through index
-rw-r--r-- | usr/local/etc/lighttpd/lighttpd.conf | 1 |
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" |