From a2fb1101809ba823a9ac7adce3e17e0a07410393 Mon Sep 17 00:00:00 2001 From: Mateusz Kochanek Date: Wed, 10 Apr 2024 08:21:57 +0200 Subject: [PATCH] CQ-4356927 UI Tests in WKND project fails --- dispatcher/src/conf.d/available_vhosts/wknd.vhost | 4 ++++ .../src/conf.dispatcher.d/available_farms/wknd.farm | 10 +++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/dispatcher/src/conf.d/available_vhosts/wknd.vhost b/dispatcher/src/conf.d/available_vhosts/wknd.vhost index 2cdc8235c0..4769fe3e05 100644 --- a/dispatcher/src/conf.d/available_vhosts/wknd.vhost +++ b/dispatcher/src/conf.d/available_vhosts/wknd.vhost @@ -135,6 +135,10 @@ Include conf.d/variables/custom.vars RewriteEngine on Include conf.d/rewrites/rewrite.rules + + # Rewrite index page internally, pass through (PT) + RewriteRule "^(/?)$" "/index.html" [PT] + ErrorDocument 404 ${404_PAGE} ErrorDocument 500 ${500_PAGE} diff --git a/dispatcher/src/conf.dispatcher.d/available_farms/wknd.farm b/dispatcher/src/conf.dispatcher.d/available_farms/wknd.farm index 3df6e0af96..4a2fe9b1e8 100644 --- a/dispatcher/src/conf.dispatcher.d/available_farms/wknd.farm +++ b/dispatcher/src/conf.dispatcher.d/available_farms/wknd.farm @@ -90,12 +90,12 @@ # Marketing parameters can normally be ignored on most websites as they are tracked # through different means. /ignoreUrlParams { - # All parameters can be passed to the AEM publisher - /0001 { /glob "*" /type "deny" } + # All parameters can be passed to the AEM publisher + /0001 { /glob "*" /type "deny" } - # Ignore common marketing parameters by including the marketing_query_parameters.any file - $include "../cache/marketing_query_parameters.any" - } + # Ignore common marketing parameters by including the marketing_query_parameters.any file + $include "../cache/marketing_query_parameters.any" + } # Cache response headers next to a cached file. On the first request to # an uncached resource, all headers matching one of the values found here