From 3ce0896af5d8623b7d20cb1fb7da27dcb1a7c90d Mon Sep 17 00:00:00 2001 From: Belle Aerni Date: Mon, 6 Feb 2023 18:34:34 -0800 Subject: [PATCH] Created a lighttpd config Tested and working :) --- configs/lighttpd.conf | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 configs/lighttpd.conf diff --git a/configs/lighttpd.conf b/configs/lighttpd.conf new file mode 100644 index 0000000..f8e34fd --- /dev/null +++ b/configs/lighttpd.conf @@ -0,0 +1,8 @@ +$HTTP["host"] == "example.com" { + server.document-root = vhosts_dir + "/example.com/htdocs" + + url.rewrite-final = ( + "^/Themes/[^/]+/Assets/.+$" => "$0", + "^/(.+)$" => "/index.php/$1" + ) +}