From dd856dc5de2c88b1b83fb6a9d222f98f33cfe3ce Mon Sep 17 00:00:00 2001 From: Jason Montleon Date: Tue, 10 Jun 2014 10:58:21 -0400 Subject: [PATCH] Fixes #6141 - support httpd-2.4 on RHEL 7 --- templates/etc/httpd/conf.d/05-foreman.d/katello.conf.erb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/etc/httpd/conf.d/05-foreman.d/katello.conf.erb b/templates/etc/httpd/conf.d/05-foreman.d/katello.conf.erb index 75dd2796..8d88acd8 100644 --- a/templates/etc/httpd/conf.d/05-foreman.d/katello.conf.erb +++ b/templates/etc/httpd/conf.d/05-foreman.d/katello.conf.erb @@ -8,7 +8,11 @@ Alias /pub /var/www/html/pub PassengerEnabled off Options +FollowSymLinks +Indexes +<% if ( @operatingsystem == "RedHat" && operatingsystemmajrelease == "7" ) -%> + Require all granted +<% else -%> Allow from all +<% end -%> Include /etc/pulp/vhosts80/*.conf