Preet_pk
Aug 14, 2023Cirrus
URL redirection irule
Hi,
Please share below irule syntax for below URL redirection.
https://excample.com:9085/ldmcatalog/* to https://excample.com/ldmcatalog/*
This solution Paulius shares here is 💯 as is, but for those looking for the slightest optimizations, you could swap out the HTTP::uri in the conditional and swap in HTTP::path, which will be a shorter comparison if there are any query parameters on the requests. Very minimal benefits, but if you obsess over every CPU cycle...