For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Parveez_70209's avatar
Parveez_70209
Icon for Nimbostratus rankNimbostratus
May 05, 2015

Irule not redirecting to /MFProxy

Hi Team,

We have one application having the below four modules:

http://dlcfddevw1v.xyz.com/task serviced by Port 8080 http://dlcfddevw1v.xyz.com/MFProxy/TE serviced by Port 80 http://dlcfddevw1v.xyz.com/MFProxy/SM serviced by Port 80 http://dlcfddevw1v.xyz.com/MFProxy/DM serviced by Port 80

External URL will be for example:

http://abc.xyz.com/task ( working) http://abc.xyz.com/MFProxy/TE (not working) http://abc.xyz.com/MFProxy/SM (not working) http://abc.xyz.com/MFProxy/DM (not working)

Below Irule is in use:

when HTTP_REQUEST { set http_uri [string tolower [HTTP::uri]] if {$http_uri equals "/" } { HTTP::redirect "https://abc.xyz.com/task/" pool abc.xyz.com-pool log local0. "redirected from /"

    return

} elseif { $http_uri starts_with "/MFProxy/" } {
pool abc.xyz.com-MFPROXY
return  

}

}

Can you suggest please why /MFPROXY is not working ?

Thanks and Regards Parveez

6 Replies

  • Sorry new to this one, so what will be my Irule look like editing the existing ? Kindly suggest.

     

    • nathe's avatar
      nathe
      Icon for Cirrocumulus rankCirrocumulus
      change "} elseif { $http_uri starts_with "/MFProxy/" } {" to "} elseif { $http_uri starts_with "/mfproxy/" } {"
    • Parveez_70209's avatar
      Parveez_70209
      Icon for Nimbostratus rankNimbostratus
      Hi Nathan, Appreciate your kind help and support, that really worked for me. Thanks and Regards Parveez
    • nathe's avatar
      nathe
      Icon for Cirrocumulus rankCirrocumulus
      no problem at all, mark up if happy