copr: temporarily disable dir-generator

It causes 403 Forbidden errors when trying to access any backend URL,
not only the `dir-generator.php` file. The exact line causing the
issue is

    index-file.names = (
      "/dir-generator.php"
    )

but to be sure, I am commenting-out the whole logic.
This commit is contained in:
Jakub Kadlcik 2021-11-22 01:41:35 +01:00
parent 65c1277420
commit 35d389a9fa

View file

@ -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