From 4c90ee6429c75bd46fbd685d638f1bc6574c8147 Mon Sep 17 00:00:00 2001 From: dimti Date: Tue, 30 Jul 2024 21:50:50 +0300 Subject: [PATCH] + use rewrite options directive with inherit value for merge rewrite rules from base apache site config and htaccess rewrite rules in the site directory --- playbooks/debops/apache.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/playbooks/debops/apache.yml b/playbooks/debops/apache.yml index 8138c44..27f825e 100644 --- a/playbooks/debops/apache.yml +++ b/playbooks/debops/apache.yml @@ -38,6 +38,7 @@ root: '/var/www/html' root_directives: |- RewriteEngine On + RewriteOptions Inherit RewriteBase / {% if www_domain_is_primary %} RewriteCond %{HTTP_HOST} ^([^www].*)$