File tree Expand file tree Collapse file tree 4 files changed +13
-15
lines changed Expand file tree Collapse file tree 4 files changed +13
-15
lines changed Original file line number Diff line number Diff line change 1
1
# mod_ext_filter definitions
2
- <%- if @ext_filter_define.length >= 1 -%>
3
- <%- @ext_filter_define.keys.sort.each do |name| -%>
4
- ExtFilterDefine <%= name %> <%= @ext_filter_define[name] %>
5
- <%- end -%>
2
+ <%- @ext_filter_define.sort.each do |name, value| -%>
3
+ ExtFilterDefine <%= name %> <%= value %>
6
4
<%- end -%>
Original file line number Diff line number Diff line change 464
464
<%- directory_proxy_pass . flatten . compact . each do |proxy | -%>
465
465
<%= proxy_pass -%> <%= proxy [ 'url' ] -%>
466
466
<%- if proxy [ 'params' ] -%>
467
- <%- proxy [ 'params' ] . keys . sort . each do |key | -%> <%= key %> =<%= proxy [ 'params' ] [ key ] -%>
467
+ <%- proxy [ 'params' ] . sort . each do |key , value | -%> <%= key %> =<%= value -%>
468
468
<%- end -%>
469
469
<%- end -%>
470
470
<%- if proxy [ 'keywords' ] %> <%= proxy [ 'keywords' ] . join ( ' ' ) -%>
Original file line number Diff line number Diff line change 19
19
<%- end -%>
20
20
ProxyPass <%= proxy['path'] %> <%= proxy['url'] -%>
21
21
<%- if proxy['params'] -%>
22
- <%- proxy['params'].keys. sort.each do |key| -%> <%= key %> =<%= proxy['params'][key] -%>
22
+ <%- proxy['params'].sort.each do |key, value | -%> <%= key %> =<%= value -%>
23
23
<%- end -%>
24
24
<%- end -%>
25
25
<%- if proxy['keywords'] %> <%= proxy['keywords'].join(' ') -%>
56
56
<%- end -%>
57
57
ProxyPassMatch <%= proxy['path'] %> <%= proxy['url'] -%>
58
58
<%- if proxy['params'] -%>
59
- <%- proxy['params'].keys. sort.each do |key| -%> <%= key %> =<%= proxy['params'][key] -%>
59
+ <%- proxy['params'].sort.each do |key, value | -%> <%= key %> =<%= value -%>
60
60
<%- end -%>
61
61
<%- end -%>
62
62
<%- if proxy['keywords'] %> <%= proxy['keywords'].join(' ') -%>
Original file line number Diff line number Diff line change 25
25
WSGIProcessGroup <%= @wsgi_process_group %>
26
26
<% end -%>
27
27
<% if @wsgi_script_aliases_match and ! @wsgi_script_aliases_match.empty? -%>
28
- <%- @wsgi_script_aliases_match.keys. sort.reverse.each do |key| -%>
29
- <%- if key != '' and @wsgi_script_aliases_match[key] != ''-%>
30
- WSGIScriptAliasMatch <%= key %> "<%= @wsgi_script_aliases_match[key] %> "
28
+ <%- @wsgi_script_aliases_match.sort.reverse.each do |key, value | -%>
29
+ <%- if key != '' and value != ''-%>
30
+ WSGIScriptAliasMatch <%= key %> "<%= value %> "
31
31
<%- end -%>
32
32
<%- end -%>
33
33
<% end -%>
34
34
<% if @wsgi_script_aliases and ! @wsgi_script_aliases.empty? -%>
35
- <%- @wsgi_script_aliases.keys. sort.reverse.each do |key| -%>
36
- <%- if key != '' and @wsgi_script_aliases[key] != ''-%>
37
- <%- if @wsgi_script_aliases[key] .is_a? Array -%>
38
- WSGIScriptAlias <%= key %> <%= @wsgi_script_aliases[key] .join(' ') %>
35
+ <%- @wsgi_script_aliases.sort.reverse.each do |key, value | -%>
36
+ <%- if key != '' and value != ''-%>
37
+ <%- if value .is_a? Array -%>
38
+ WSGIScriptAlias <%= key %> <%= value .join(' ') %>
39
39
<%- else -%>
40
- WSGIScriptAlias <%= key %> "<%= @wsgi_script_aliases[key] %> "
40
+ WSGIScriptAlias <%= key %> "<%= value %> "
41
41
<%- end -%>
42
42
<%- end -%>
43
43
<%- end -%>
You can’t perform that action at this time.
0 commit comments