Forum Discussion

Rod_82621's avatar
Rod_82621
Icon for Nimbostratus rankNimbostratus
Jun 16, 2009

Newbie iRule request

I am using this iRule to re-write a url:

 

 

when HTTP_REQUEST {

 

if { ([HTTP::uri] contains "43/https%3B/www.mdmopars.com/imageserver/bpmContext/opencontrols/plumtree/common/private/opencontrols/js/oc-bootstrap.js")} {

 

HTTP::redirect "https://[HTTP::host]/imageserver/bpmContext/opencontrols/plumtree/common/private/opencontrols/js/oc-bootstrap.js"

 

}

 

}

 

This redirects to a dedicated server.

 

 

The problem is I want to do the same redirect for multiple .js files

 

 

How would I do this?
No RepliesBe the first to reply