Browse Source

Split Logformat and CustomLog Directive to avoid syntax error on RedHat

tags/v0.37.4
thomas Senay 7 years ago
parent
commit
5fea96a6a2
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      apache/vhosts/standard.tmpl

+ 2
- 1
apache/vhosts/standard.tmpl View File

@@ -52,7 +52,8 @@

{% if site.get('LogLevel') != False -%}LogLevel {{ vals.LogLevel }}{% endif %}
{% if site.get('ErrorLog') != False -%}ErrorLog {{ vals.ErrorLog }}{% endif %}
{% if site.get('CustomLog') != False -%}CustomLog {{ vals.CustomLog }} {{ vals.LogFormat }}{% endif %}
{% if site.get('LogFormat') != False -%}LogFormat {{ vals.LogFormat }}{% endif %}
{% if site.get('CustomLog') != False -%}CustomLog {{ vals.CustomLog }} {% endif %}

{% if site.get('DocumentRoot') != False -%}DocumentRoot {{ vals.DocumentRoot }}{% endif %}
{% if site.get('VirtualDocumentRoot') -%}VirtualDocumentRoot {{ vals.VirtualDocumentRoot }}{% endif %}

Loading…
Cancel
Save