copr: backend: nicer lighttpd doc

This commit is contained in:
Pavel Raiskup 2021-02-02 19:36:14 +01:00
parent 8ba5a4889f
commit cad2c4dbd0

View file

@ -311,14 +311,14 @@ server.max-keep-alive-idle = 2
# Warning: This is sooo ugly. # Warning: This is sooo ugly.
# #
# We only ever want to enable PHP CGI for the index generator file # We only ever want to enable PHP CGI for the index generator file
# 'dir-generator.phpj, nothing else - so people can not execute their own # 'dir-generator.php', nothing else - so we are sure our users can not execute
# scripts. IOW, non-conditional 'cgi.assign' can not be used! # their own scripts. Therefore non-conditional 'cgi.assign' config can not be
# used.
# #
# To make 'index-file.names' work correctly, we have to set 'cg.assign' # But to make the 'index-file.names' work correctly, we still have to set
# conditionally only on paths that both (a) end by slash (= directories) and # 'cgi.assign' conditionally - the trick is to do this only on paths that both
# (b) do not contain 'dir-generator' string. This guards against # (a) end with slash (= directories) and (b) do not contain 'dir-generator'
# '/some/dir-generator.php/' hacks. # string (guard against '/some/dir-generator.php/' or alike hacks).
index-file.names = ( index-file.names = (
"/dir-generator.php" "/dir-generator.php"
) )