瀏覽代碼

Merge pull request #170 from bmwiedemann/fix2

fix standard.tmpl
master
alxwr 7 年之前
父節點
當前提交
0e670f47df
共有 1 個檔案被更改,包括 2 行新增3 行删除
  1. +2
    -3
      apache/vhosts/standard.tmpl

+ 2
- 3
apache/vhosts/standard.tmpl 查看文件

@@ -1,5 +1,4 @@
{# Define default values here so the template below can just focus on layout #}
{%- from "apache/map.jinja" import apache with context -%}
{%- set sitename = site.get('ServerName', id) -%}

{%- set vals = {
@@ -89,7 +88,7 @@

<Directory "{{ path }}">
{% if dvals.get('Options') != False %}Options {{ dvals.Options }}{% endif %}
{% if apache.use_require %}
{% if map.use_require %}
{% if dvals.get('Require') != False %}Require {{dvals.Require}}{% endif %}
{% else %}
{% if dvals.get('Order') != False %}Order {{ dvals.Order }}{% endif %}
@@ -113,7 +112,7 @@
} %}

<Location "{{ path }}">
{% if apache.use_require %}
{% if map.use_require %}
{%- if lvals.get('Require') != False %}Require {{lvals.Require}}{% endif %}
{% else %}
{%- if lvals.get('Order') != False %}Order {{ lvals.Order }}{% endif %}

Loading…
取消
儲存