diff --git a/modules/openstack_project/manifests/status.pp b/modules/openstack_project/manifests/status.pp
index babeac4764..8e00509edf 100644
--- a/modules/openstack_project/manifests/status.pp
+++ b/modules/openstack_project/manifests/status.pp
@@ -26,6 +26,14 @@ class openstack_project::status (
include ::httpd
+ # The Apache mod_version module only needs to be enabled on Ubuntu 12.04
+ # as it comes compiled and enabled by default on newer OS, including CentOS
+ if !defined(Httpd::Mod['version']) and $::operatingsystem == 'Ubuntu' and $::operatingsystemrelease == '12.04' {
+ httpd::mod { 'version':
+ ensure => present
+ }
+ }
+
if ! defined(Httpd::Mod['rewrite']) {
httpd::mod { 'rewrite':
ensure => present,
diff --git a/modules/openstack_project/templates/status.vhost.erb b/modules/openstack_project/templates/status.vhost.erb
index a9537398dd..06c51c0822 100644
--- a/modules/openstack_project/templates/status.vhost.erb
+++ b/modules/openstack_project/templates/status.vhost.erb
@@ -17,6 +17,9 @@ NameVirtualHost <%= @vhost_name %>:<%= @port %>
AllowOverride None
Order allow,deny
allow from all
+ = 2.4>
+ Require all granted
+
Alias /reviews /srv/static/reviewday
@@ -24,6 +27,9 @@ NameVirtualHost <%= @vhost_name %>:<%= @port %>
AllowOverride None
Order allow,deny
allow from all
+ = 2.4>
+ Require all granted
+
Alias /openstack-health /srv/static/openstack-health
@@ -31,6 +37,9 @@ NameVirtualHost <%= @vhost_name %>:<%= @port %>
AllowOverride None
Order allow,deny
allow from all
+ = 2.4>
+ Require all granted
+
>
@@ -38,6 +47,9 @@ NameVirtualHost <%= @vhost_name %>:<%= @port %>
AllowOverride None
Order allow,deny
allow from all
+ = 2.4>
+ Require all granted
+
# Sample elastic-recheck config file, adjust prefixes
@@ -48,6 +60,9 @@ NameVirtualHost <%= @vhost_name %>:<%= @port %>
AllowOverride None
Order allow,deny
allow from all
+ = 2.4>
+ Require all granted
+
RedirectMatch permanent ^/rechecks(.*) /elastic-recheck
@@ -56,6 +71,9 @@ NameVirtualHost <%= @vhost_name %>:<%= @port %>
AllowOverride None
Order allow,deny
allow from all
+ = 2.4>
+ Require all granted
+