author | ymh <ymh.work@gmail.com> |
Fri, 15 Jan 2016 15:35:00 +0100 | |
changeset 28 | b0b56e0f8c7f |
permissions | -rw-r--r-- |
28 | 1 |
ExpiresActive <%= scope.function_bool2httpd([@expires_active]) %> |
2 |
<%- if ! @expires_default.nil? and ! @expires_default.empty? -%> |
|
3 |
ExpiresDefault "<%= @expires_default %>" |
|
4 |
<%- end -%> |
|
5 |
<%- if ! @expires_by_type.nil? and ! @expires_by_type.empty? -%> |
|
6 |
<%- [@expires_by_type].flatten.each do |line| -%> |
|
7 |
<%- line.map do |type, seconds| -%> |
|
8 |
ExpiresByType <%= type %> "<%= seconds -%>" |
|
9 |
<%- end -%> |
|
10 |
<%- end -%> |
|
11 |
<%- end -%> |