Hi experts,
I use the modification rule to limit the access of our websites.
Therefore I made the following entries:
if %{HTTP_HOST} regimatch www.dummy.com [and]
if %{PATH} regimatch "^/sap/*"
SetHeader x-sap-webdisp-target-sid <SID> [break]
This means, that just www.dummy.com/sap/* pages are allowed.
So, but we also use to redirect www.dummy.com to www.dummy.com/sap/*.
But this redirect seams to happen after the modification file, so after the rule.
Because the www.dummy.com is now blocked.
So how can I now achieve, that also www.dummy.com is allowed.
BUT! Just www.dummy.com without any directlink at the end.
Because if I also add e.g.
if %{HTTP_HOST} regimatch www.dummy.com [and]
if %{PATH} regimatch "^/"
SetHeader x-sap-webdisp-target-sid <SID> [break]
Everything is unlocked again (www.dummy.com/<every page>.
Thanks for help