#
# This file is managed by Puppet. Local edits will be lost.
#

<VirtualHost <%= @vhost_name %>:<%= @port %>>
  SetEnv PATH /usr/bin:/bin:/usr/local/bin
  SetEnv LC_ALL en_US.UTF-8

  ServerName <%= @srvname %>
  DocumentRoot <%= @docroot %>
  <Directory <%= @docroot %>>
    Options <%= @options %>
    AllowOverride None
    Order allow,deny
    allow from all
  </Directory>

  ErrorLog <%= @logroot %>/<%= @name %>_error.log
  LogLevel warn
  CustomLog <%= @logroot %>/<%= @name %>_access.log combined
  ServerSignature Off

  PassengerMinInstances <%= scope.lookupvar('passenger::params::min_instances') %>
</VirtualHost>

#
# This file is managed by Puppet. Local edits will be lost.
#

<VirtualHost <%= @vhost_name %>:<%= @port %>>
  SetEnv PATH /usr/bin:/bin:/usr/local/bin
  SetEnv LC_ALL en_US.UTF-8

  ServerName <%= @srvname %>
  DocumentRoot <%= @docroot %>
  <Directory <%= @docroot %>>
    Options <%= @options %>
    AllowOverride None
    Order allow,deny
    Allow from all
    Require all granted
  </Directory>

  ErrorLog <%= @logroot %>/<%= @name %>_error.log
  LogLevel warn
  CustomLog <%= @logroot %>/<%= @name %>_access.log combined
  ServerSignature Off

  PassengerMinInstances <%= scope.lookupvar('passenger::params::min_instances') %>
</VirtualHost>

Fix for Apache > 2.4
Fix for Apache > 2.4
