Hi,
I want to know if we can have redirect irule on F5 to redirect the document link.
Source Link : Destination Link :
we don’t want to affect existing redirect rule attached with virtual server.
Hi,
I want to know if we can have redirect irule on F5 to redirect the document link.
Source Link : Destination Link :
we don’t want to affect existing redirect rule attached with virtual server.
Yes. An example link.
Yes you can add two iRules in a single VS or edit existing iRule if both are co-related.
Please share existing iRule so that I can answer complete script with you .
check with this scenario
when HTTP_REQUEST { if { [string tolower [HTTP::host]] ends_with “.abc.com” } { HTTP::respond 301 Location “https://eservices-t.abc.com/irj/portal/abc[HTTP::uri]” } if { [string tolower [HTTP::host]] ends_with “.def.com” } { HTTP::respond 301 Location “https://eservices-t.def.com/irj/portal/def[HTTP::uri]” }
when HTTP_REQUEST { if { [string tolower [HTTP::host]] eq "; and [HTTP::path] eq “/documents/A.A.A.A.pdf” } { HTTP::respond 301 Location "; } }
Thanks Dali,
So If I go with your second irule script it wont impact my existing live webside traffic.
I just to redirect link ending with .pdf to destination link while first part of the live site dont needs to be impacted.
Hi Thanks,
This time it works and thanks to all for supporting me