F5Hopper_28651
Dec 17, 2012Nimbostratus
dev servers irule
hey guys,
not sure how to do this one, I have
dev01.www.etc.com, dev02.www.etc.com, through dev20.www.etc.com
I also have
dev01.app.etc.com through dev20.app.etc.com.
I want to make an irule that forwards a URI from www to app.
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] eq "/production/webservice.asmx" } {
HTTP::redirect "http://dev16.app.etc.com/webservice.asmx"
}
}
I have this on the dev--.www.etc.com VS, I have one VS for all DEV01-20 and use an irule for node redirect based on what DEV they are calling. but as you see it is only forwarding to dev16.
if it hits dev05.www I wanted it to forward to the dev05.app