Forum Discussion

Preet_pk's avatar
Preet_pk
Icon for Cirrus rankCirrus
Aug 14, 2023
Solved

URL redirection irule

Hi, Please share below irule syntax for below URL redirection. https://excample.com:9085/ldmcatalog/* to  https://excample.com/ldmcatalog/*
  • JRahm's avatar
    JRahm
    Aug 14, 2023

    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...