This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/attic-docker.git
The following commit(s) were added to refs/heads/main by this push:
new 2cc8c9f Prevent index.cgi being invoked
2cc8c9f is described below
commit 2cc8c9ffc34a2d7d629b493c1794dfe8b7f62378
Author: Sebb <[email protected]>
AuthorDate: Fri Apr 25 14:54:49 2025 +0100
Prevent index.cgi being invoked
---
config/000-default.conf | 2 ++
1 file changed, 2 insertions(+)
diff --git a/config/000-default.conf b/config/000-default.conf
index 91ff9d3..9371456 100644
--- a/config/000-default.conf
+++ b/config/000-default.conf
@@ -10,6 +10,8 @@
# Allow .htaccess Header set CSP
<Directory /var/www/site.apache.org/>
AllowOverride FileInfo
+ # We don't want to generate an index with index.cgi, as that
invokes closer.lua
+ DirectoryIndex disabled
</Directory>
LuaScope thread