Forum Discussion
Kai_Wilke
Feb 15, 2020MVP
I recently ran into the same situation.
A customer asked for a -nocase clientside REWRITE to a highly MiXed- and strickly cAse-SenSitiVe serverside.
I ended up attaching a RULE_INIT iRule to each VS holding an abstracted syntax how the REWRITE should look like.
Deployed in the background a iCall script to read the abstracted syntax out of those iRules on each saving to recalculate the required REWRITE profile and to construct a [string map -nocase] replace list for a rather simple HTTP_REQUEST iRule to allign the case of the clientside path portion.
Pretty overkill, but in the end it has worked out and was also easier to maintain than a usual REWITE profile... ;-)
Cheers, Kai