From ade7a3f29fdf7a87ce85f094300353b467ff664a Mon Sep 17 00:00:00 2001 From: John Soros Date: Mon, 13 May 2019 19:54:25 +0100 Subject: [PATCH] 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