Browse Source

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

master
dimti 5 months ago
parent
commit
4c90ee6429
  1. 1
      playbooks/debops/apache.yml

1
playbooks/debops/apache.yml

@ -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].*)$

Loading…
Cancel
Save