view modules/apache/templates/vhost/_header.erb @ 257:675c1cc61eaf

Update Apache module to get CentOS 8 support Unfortunately it only fixes some bits. mod_wsgi still needs other approaches This also overrides the vhost modification to make them come last in the import order (after module loading)
author IBBoard <dev@ibboard.co.uk>
date Sun, 22 Dec 2019 14:43:29 -0500
parents 956e484adc12
children b8d6ada284dd
line wrap: on
line source

<% if @headers and ! @headers.empty? -%>

  ## Header rules
  ## as per http://httpd.apache.org/docs/2.2/mod/mod_headers.html#header
  <%- Array(@headers).each do |header_statement| -%>
    <%- if header_statement != '' -%>
  Header <%= header_statement %>
    <%- end -%>
  <%- end -%>
<% end -%>