view modules/apache/templates/vhost/_requestheader.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 @request_headers and ! @request_headers.empty? -%>

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