Forum Discussion
Hi pstoianov,
for ASM blocking pages this should be fairly easy. Take a look at this solutio article.
K22017023: Configuring a custom Blocking Response Page using an iRule
The iRule only needs to be adjusted with a condition to match the Geo Location, the localized text can be stored in a datagroup.
For captcha challenges I am not quite sure at the moment. Looks like they are stored in the ASM db but cannot be localized via iRule.
Hope I could help a tiny bit.
KR
Daniel
Agreed with Daniel here specifically about the error pages. If targeting both...It's probably a lot more complicated than it's worth, but you could set up a vip->vip solution where the front vip manages the geolocation and the back vips have custom policies so each can have it's own error/captcha experience.
On the iRule side, the docs say that DOSL7::profile is read only, but if you could set it, that would be handy to swap out as needed for geolocation specific responses.
- pstoianovSep 18, 2022Altocumulus
Thanks! Don't you think that VIP->VIP, would cause any sort of loops? I have never tried VIP pointing to another VIP.
Probably this scenario is might solve the issue as the languages are growing but some regions people just don't know without Google translate what's going on with this pages...
- JRahmSep 19, 2022Admin
Not if configured properly, lots of successful deployments over the years. Details in this lightboard: https://community.f5.com/t5/technical-articles/lightboard-lessons-vip-targeting-vip/ta-p/286897