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:
parent
65c1277420
commit
35d389a9fa
1 changed files with 8 additions and 8 deletions
|
@ -319,14 +319,14 @@ server.max-keep-alive-idle = 2
|
||||||
# 'cgi.assign' conditionally - the trick is to do this only on paths that both
|
# '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'
|
# (a) end with slash (= directories) and (b) do not contain 'dir-generator'
|
||||||
# string (guard against '/some/dir-generator.php/' or alike hacks).
|
# string (guard against '/some/dir-generator.php/' or alike hacks).
|
||||||
index-file.names = (
|
# index-file.names = (
|
||||||
"/dir-generator.php"
|
# "/dir-generator.php"
|
||||||
)
|
# )
|
||||||
$HTTP["url"] =~ "/$" {
|
# $HTTP["url"] =~ "/$" {
|
||||||
$HTTP["url"] !~ "dir-generator" {
|
# $HTTP["url"] !~ "dir-generator" {
|
||||||
cgi.assign = ( "/dir-generator.php" => "/usr/bin/php-cgi" )
|
# cgi.assign = ( "/dir-generator.php" => "/usr/bin/php-cgi" )
|
||||||
}
|
# }
|
||||||
}
|
# }
|
||||||
|
|
||||||
##
|
##
|
||||||
## deny access the file-extensions
|
## deny access the file-extensions
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue