view modules/apache/templates/vhost/_itk.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 37675581a273
children
line wrap: on
line source

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

  ## ITK statement
  <IfModule mpm_itk_module>
     <%- if @itk["user"] and @itk["group"] -%>
     AssignUserId <%= @itk["user"] %> <%= @itk["group"] %>
     <%- end -%>
     <%- if @itk["assignuseridexpr"] -%>
     AssignUserIdExpr <%= @itk["assignuseridexpr"] %>
     <%- end -%>
     <%- if @itk["assigngroupidexpr"] -%>
     AssignGroupIdExpr <%= @itk["assigngroupidexpr"] %>
     <%- end -%>
     <%- if @itk["maxclientvhost"] -%>
     MaxClientsVHost <%= @itk["maxclientvhost"] %>
     <%- end -%>
     <%- if @itk["nice"] -%>
     NiceValue <%= @itk["nice"] %>
     <%- end -%>
     <%- if @kernelversion >= '3.5.0' -%>
       <%- if @itk["limituidrange"] -%>
     LimitUIDRange <%= @itk["limituidrange"] %>
       <%- end -%>
       <%- if @itk["limitgidrange"] -%>
     LimitGIDRange <%= @itk["limitgidrange"] %>
       <%- end -%>
     <%- end -%>
  </IfModule>
<% end -%>