From 7e157eb9a726b8901789bd87224bc2b1126e342d Mon Sep 17 00:00:00 2001 From: Jason Rothstein Date: Tue, 26 Oct 2021 21:30:47 -0500 Subject: [PATCH] Fix redirect to be redirectmatch so it passes the syntax checks... --- templates/Fedora/34/etc/httpd/conf.d/vhost.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/Fedora/34/etc/httpd/conf.d/vhost.conf b/templates/Fedora/34/etc/httpd/conf.d/vhost.conf index 573e7ef..c098409 100644 --- a/templates/Fedora/34/etc/httpd/conf.d/vhost.conf +++ b/templates/Fedora/34/etc/httpd/conf.d/vhost.conf @@ -28,7 +28,7 @@ MDStoreDir md ServerAdmin webmaster@{{ item.fqdn }} DocumentRoot /srv/http/{{ item.fqdn }} {% if item.redirect is defined %} - Redirect temp {{ item.redirect }} + RedirectMatch "^.*$" {{ item.redirect }} {% endif %} @@ -59,7 +59,7 @@ MDomain {{ item.fqdn }} ProxyTimeout 300 {% endif %} {% if item.redirect is defined %} - Redirect temp {{ item.redirect }} + RedirectMatch "^.*$" {{ item.redirect }} {% endif %} Require all denied