Forum Discussion
Samir_Jha_52506
Jun 01, 2018Noctilucent
Above iRule has syntax error. I have bit modified iRule and added
HTTP::path
function to make condition more easy. you can modify based on requirements.
when HTTP_REQUEST {
if {[string tolower [HTTP::path]] equals "/save/samples/documents/chop-employe.pdf"}
{
HTTP::respond 301 Location "https://newlocation/employee/overview[HTTP::uri]"
}
}
- Korai_331784Jun 01, 2018Altostratus
Hi,
Many thanks , I am try to get approval to test this and will update you.