view modules/apache/templates/vhost/_setenv.erb @ 437:b8d6ada284dd

Update Apache module to latest version Also converted some params to ints to match
author IBBoard <dev@ibboard.co.uk>
date Sun, 14 Aug 2022 11:30:13 +0100
parents 675c1cc61eaf
children
line wrap: on
line source

<% unless @setenv.empty? -%>

  ## SetEnv/SetEnvIf for environment variables
  <%- Array(@setenv).each do |envvar| -%>
  SetEnv <%= envvar %>
  <%- end -%>
<% end -%>
<% unless @setenvif.empty? -%>
  <%- Array(@setenvif).each do |envifvar| -%>
  SetEnvIf <%= envifvar %>
  <%- end -%>
<% end -%>
<% unless @setenvifnocase.empty? -%>
  <%- Array(@setenvifnocase).each do |envifncvar| -%>
  SetEnvIfNoCase <%= envifncvar %>
  <%- end -%>
<% end -%>