Browse Source

Merge pull request #219 from arthurlogilab/217-customlog

[apache/vhosts] fix CustomLog on standard template
master
Javier Bértoli 7 years ago
parent
commit
6de9dd885d
No account linked to committer's email address
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      apache/vhosts/standard.tmpl

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

@@ -53,8 +53,7 @@
{% if site.get('LogLevel') != False -%}LogLevel {{ vals.LogLevel }}{% endif %}
{% if site.get('ErrorLog') != False -%}ErrorLog {{ vals.ErrorLog }}{% endif %}
{% if site.get('LogFormat') != False -%}LogFormat {{ vals.LogFormat }}{% endif %}
{% if site.get('CustomLog') != False -%}LogFormat {{ vals.LogFormat }} {{ sitename }}
CustomLog {{ vals.CustomLog }} {{ sitename }}{% endif %}
{% if site.get('CustomLog') != False -%}CustomLog {{ vals.CustomLog }} {{ vals.LogFormat }}{% endif %}

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

Loading…
Cancel
Save