diff --git a/roles/httpd/redirect/templates/redirect.conf b/roles/httpd/redirect/templates/redirect.conf index 91c50d8e8c..9d3e587a56 100644 --- a/roles/httpd/redirect/templates/redirect.conf +++ b/roles/httpd/redirect/templates/redirect.conf @@ -1 +1 @@ -Redirect 302 {{ path }} {{ target }} +Redirect 302 {{ path }} {{ target }}/ diff --git a/roles/httpd/redirectmatch/templates/redirectmatch.conf b/roles/httpd/redirectmatch/templates/redirectmatch.conf index 9becff73dd..d39e34a0d0 100644 --- a/roles/httpd/redirectmatch/templates/redirectmatch.conf +++ b/roles/httpd/redirectmatch/templates/redirectmatch.conf @@ -1,3 +1,3 @@ {% if redirectmatch_enabled %} -RedirectMatch {{ status }} {{ regex }} {{ target }} +RedirectMatch {{ status }} {{ regex }} {{ target }}/ {% endif %}