Browse Source

Merge pull request #205 from emeygret/patch-1

Add RedirectMatch option
master
N 7 years ago
parent
commit
f1514dab84
No account linked to committer's email address
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      apache/vhosts/redirect.tmpl

+ 5
- 1
apache/vhosts/redirect.tmpl View File

@@ -39,8 +39,12 @@
{% if site.get('CustomLog') != False -%}LogFormat {{ vals.LogFormat }} {{ sitename }}
CustomLog {{ vals.CustomLog }} {{ sitename }}{% endif %}

{% if site.get('RedirectMatch') %}
RedirectMatch {{ vals.RedirectSource }} {{ vals.RedirectTarget }}
{% else %}
Redirect {{ vals.RedirectSource }} {{ vals.RedirectTarget }}

{% endif %}
{% if site.get('Formula_Append') %}
{{ site.Formula_Append|indent(4) }}
{% endif %}

Loading…
Cancel
Save