瀏覽代碼

Merge pull request #109 from cybacolt/master

allow AllowEncodedSlashes directive in vhosts.
master
Forrest 9 年之前
父節點
當前提交
ef10de6a57
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. +2
    -0
      apache/vhosts/standard.tmpl

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

@@ -13,6 +13,7 @@

'DirectoryIndex': site.get('DirectoryIndex'),
'UseCanonicalName': site.get('UseCanonicalName'),
'AllowEncodedSlashes': site.get('AllowEncodedSlashes'),

'LogLevel': site.get('LogLevel', 'warn'),
'ErrorLog': site.get('ErrorLog', '{0}/{1}-error.log'.format(map.logdir, sitename)),
@@ -47,6 +48,7 @@ Listen {{ vals.interface }}:{{ vals.port }}

{% if site.get('DirectoryIndex') %}DirectoryIndex {{ vals.DirectoryIndex }}{% endif %}
{% if site.get('UseCanonicalName') %}UseCanonicalName {{ vals.UseCanonicalName }}{% endif %}
{% if site.get('AllowEncodedSlashes') != False %}AllowEncodedSlashes {{ vals.AllowEncodedSlashes }}{% endif %}

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

Loading…
取消
儲存