Browse Source

Merge 745390eea5 into 1553a9d5bc

pull/380/merge
HystericalHatter 2 years ago
parent
commit
8a96b9289f
No account linked to committer's email address
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      apache/config/vhosts/standard.tmpl

+ 5
- 0
apache/config/vhosts/standard.tmpl View File

@@ -90,6 +90,7 @@
'Require': dir.get('Require', vals.Directory.Require),
'AllowOverride': dir.get('AllowOverride', vals.Directory.AllowOverride),
'Dav': dir.get('Dav', False),
'Rewrite': dir.get('Rewrite', False),
} %}

{%- if path == 'default' %}{% set path = vals.Directory_default %}{% endif %}
@@ -105,6 +106,10 @@
{% if dvals.get('AllowOverride') != False %}AllowOverride {{ dvals.AllowOverride }}{% endif %}
{% if dvals.get('Dav') != False %}Dav On{% endif %}

{% if dvals.get('Rewrite') %}RewriteEngine on
{{ dvals.Rewrite|indent(8) }}
{%- endif %}

{%- if dir.get('Formula_Append') %}
{{ dir.Formula_Append|indent(8) }}
{%- endif %}

Loading…
Cancel
Save