+ use rewrite options directive with inherit value for merge rewrite rules from base apache site config and htaccess rewrite rules in the site directory

This commit is contained in:
2024-07-30 21:50:50 +03:00
parent 5a4ec54d3b
commit 4c90ee6429

View File

@ -38,6 +38,7 @@
root: '/var/www/html' root: '/var/www/html'
root_directives: |- root_directives: |-
RewriteEngine On RewriteEngine On
RewriteOptions Inherit
RewriteBase / RewriteBase /
{% if www_domain_is_primary %} {% if www_domain_is_primary %}
RewriteCond %{HTTP_HOST} ^([^www].*)$ RewriteCond %{HTTP_HOST} ^([^www].*)$