RyanF5_169352
Jul 29, 2015Nimbostratus
iRule to add uri after "/"
I've got a web server that hits IIS. I need an iRule that basically says if there nothing after the "/" put "XXXXX" in. For examply, users will navigate to wms-xxx.domain.com and get the IIS page. I want this to redirect them to wms-xxx.domain.com/xxxxxx
when HTTP_REQUEST { if {( [HTTP::uri] equals "/" )} { HTTP::respond "https://wms-ind.smcusa.com/wmsprod log local0. "in HTTP_REQUEST"