diff --git a/roles/copr/backend/templates/lighttpd/lighttpd.conf b/roles/copr/backend/templates/lighttpd/lighttpd.conf index 89f39ab127..6bb6433cc1 100644 --- a/roles/copr/backend/templates/lighttpd/lighttpd.conf +++ b/roles/copr/backend/templates/lighttpd/lighttpd.conf @@ -319,14 +319,14 @@ server.max-keep-alive-idle = 2 # 'cgi.assign' conditionally - the trick is to do this only on paths that both # (a) end with slash (= directories) and (b) do not contain 'dir-generator' # string (guard against '/some/dir-generator.php/' or alike hacks). -index-file.names = ( - "/dir-generator.php" -) -$HTTP["url"] =~ "/$" { - $HTTP["url"] !~ "dir-generator" { - cgi.assign = ( "/dir-generator.php" => "/usr/bin/php-cgi" ) - } -} +# index-file.names = ( +# "/dir-generator.php" +# ) +# $HTTP["url"] =~ "/$" { +# $HTTP["url"] !~ "dir-generator" { +# cgi.assign = ( "/dir-generator.php" => "/usr/bin/php-cgi" ) +# } +# } ## ## deny access the file-extensions