# HG changeset patch # User John "Elwin" Edwards # Date 1641174005 18000 # Node ID 801ec25cc0af3c8799b39f3011993f04bd0ed2eb # Parent 36d6787f7aed257d03e3c10dc8babdeecabd365e Update lighttpd configuration. Explicitly set the document root, in case the default gets changed. diff -r 36d6787f7aed -r 801ec25cc0af lighttpd/rlgallery.conf --- a/lighttpd/rlgallery.conf Tue Nov 02 21:10:10 2021 -0400 +++ b/lighttpd/rlgallery.conf Sun Jan 02 20:40:05 2022 -0500 @@ -5,6 +5,8 @@ server.bind = "0.0.0.0" $SERVER["socket"] == "[::]:80" { } +server.document-root := server_root + "/lighttpd" + # Ensure index.cgi is in the list index-file.names += ( "index.xhtml", "index.html", "index.htm", "index.cgi" @@ -25,7 +27,7 @@ static-file.exclude-extensions += ( ".cgi", ".py" ) # Use the custom 404 error page -server.error-handler-404 = "404.html" +server.error-handler-404 = "/404.html" # Set a UTF-8 environment, or Python 3 won't work setenv.add-environment = (