From 7e0e74375fbd8d542e1a7e4b247a0c74cdf52a2d Mon Sep 17 00:00:00 2001 From: John Soros Date: Sun, 5 May 2019 03:47:13 +0200 Subject: [PATCH 1/2] allow override of MultiViews option in .htaccess --- etc/alternc/templates/apache2/vhost-https.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/alternc/templates/apache2/vhost-https.conf b/etc/alternc/templates/apache2/vhost-https.conf index 5438454c..1f5ed85d 100644 --- a/etc/alternc/templates/apache2/vhost-https.conf +++ b/etc/alternc/templates/apache2/vhost-https.conf @@ -24,7 +24,7 @@ php_admin_value sendmail_path '/usr/lib/alternc/sendmail "%%mail_account%%" ' php_admin_flag mail.add_x_header on Options +MultiViews -FollowSymLinks +SymLinksIfOwnerMatch - AllowOverride AuthConfig FileInfo Limit Options Indexes + AllowOverride AuthConfig FileInfo Limit Options Indexes Options=All,MultiViews SSLEngine On From ade7a3f29fdf7a87ce85f094300353b467ff664a Mon Sep 17 00:00:00 2001 From: John Soros Date: Mon, 13 May 2019 19:54:25 +0100 Subject: [PATCH 2/2] allow override of MultiViews option in .htaccess also for vhosts hosted using http and http+https --- etc/alternc/templates/apache2/vhost-both.conf | 4 ++-- etc/alternc/templates/apache2/vhost-http.conf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/alternc/templates/apache2/vhost-both.conf b/etc/alternc/templates/apache2/vhost-both.conf index 4240975a..51883cc5 100644 --- a/etc/alternc/templates/apache2/vhost-both.conf +++ b/etc/alternc/templates/apache2/vhost-both.conf @@ -11,7 +11,7 @@ php_admin_value sendmail_path '/usr/lib/alternc/sendmail "%%mail_account%%" ' php_admin_flag mail.add_x_header on Options +MultiViews -FollowSymLinks +SymLinksIfOwnerMatch - AllowOverride AuthConfig FileInfo Limit Options Indexes + AllowOverride AuthConfig FileInfo Limit Options Indexes Options=All,MultiViews @@ -29,7 +29,7 @@ php_admin_value sendmail_path '/usr/lib/alternc/sendmail "%%mail_account%%" ' php_admin_flag mail.add_x_header on Options +MultiViews -FollowSymLinks +SymLinksIfOwnerMatch - AllowOverride AuthConfig FileInfo Limit Options Indexes + AllowOverride AuthConfig FileInfo Limit Options Indexes Options=All,MultiViews SSLEngine On diff --git a/etc/alternc/templates/apache2/vhost-http.conf b/etc/alternc/templates/apache2/vhost-http.conf index df6165f2..a910a2ec 100644 --- a/etc/alternc/templates/apache2/vhost-http.conf +++ b/etc/alternc/templates/apache2/vhost-http.conf @@ -30,7 +30,7 @@ php_admin_value sendmail_path '/usr/lib/alternc/sendmail "%%mail_account%%" ' php_admin_flag mail.add_x_header on Options -MultiViews -FollowSymLinks +SymLinksIfOwnerMatch - AllowOverride AuthConfig FileInfo Limit Options Indexes + AllowOverride AuthConfig FileInfo Limit Options Indexes Options=All,MultiViews Order allow,deny Allow from all Require all granted