[packages/apache] Drop Index (exposes things) and ancient IncludesNoExec options by default.

arekm arekm at pld-linux.org
Tue Mar 18 13:46:30 CET 2025


commit 9d0a92376298c5c72f43f3aa6947f92c89389371
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Mar 18 12:56:02 2025 +0100

    Drop Index (exposes things) and ancient IncludesNoExec options by default.

 apache-common.conf      | 2 +-
 apache-mod_userdir.conf | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/apache-common.conf b/apache-common.conf
index fe7604a..c354dee 100644
--- a/apache-common.conf
+++ b/apache-common.conf
@@ -72,7 +72,7 @@ DocumentRoot "/home/services/httpd/html"
 	# https://httpd.apache.org/docs/2.4/mod/core.html#options
 	# for more information.
 	#
-	Options Indexes FollowSymLinks
+	Options FollowSymLinks
 
 	#
 	# AllowOverride controls what directives may be placed in .htaccess files.
diff --git a/apache-mod_userdir.conf b/apache-mod_userdir.conf
index 3f4379a..c02bb88 100644
--- a/apache-mod_userdir.conf
+++ b/apache-mod_userdir.conf
@@ -18,7 +18,7 @@ UserDir public_html
 #
 <Directory /home/users/*/public_html>
 	AllowOverride FileInfo AuthConfig Limit Indexes
-	Options Indexes SymLinksIfOwnerMatch IncludesNoExec
+	Options SymLinksIfOwnerMatch
 	<Limit GET POST OPTIONS>
 		Require all granted
 		<IfModule mod_access_compat.c>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/apache.git/commitdiff/9d0a92376298c5c72f43f3aa6947f92c89389371



More information about the pld-cvs-commit mailing list