diff --git a/apache/vhosts/redirect.tmpl b/apache/vhosts/redirect.tmpl index 024cf36..20ab2c5 100644 --- a/apache/vhosts/redirect.tmpl +++ b/apache/vhosts/redirect.tmpl @@ -34,8 +34,12 @@ {% if site.get('ErrorLog') != False %}ErrorLog {{ vals.ErrorLog }}{% endif %} {% if site.get('CustomLog') != False %}CustomLog {{ vals.CustomLog }} {{ vals.LogFormat }}{% 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 %}