From 8d22b806eb528e3d8c93bf5229b86b9529bce7b9 Mon Sep 17 00:00:00 2001 From: muresan Date: Fri, 14 Nov 2014 17:05:02 +0000 Subject: [PATCH] Updated _directories.erb to add support for 'SetEnv' Updated _directories.erb to add support for 'SetEnv'. --- templates/vhost/_directories.erb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/templates/vhost/_directories.erb b/templates/vhost/_directories.erb index e756875f2..9827e38c7 100644 --- a/templates/vhost/_directories.erb +++ b/templates/vhost/_directories.erb @@ -195,6 +195,11 @@ <%- end -%> <%- end -%> <%- end -%> + <%- if directory['setenv'] -%> + <%- Array(directory['setenv']).each do |setenv| -%> + SetEnv <%= setenv %> + <%- end -%> + <%- end -%> <%- if @shibboleth_enabled -%> <%- if directory['shib_require_session'] and ! directory['shib_require_session'].empty? -%> ShibRequireSession <%= directory['shib_require_session'] %>