cancel
Showing results for 
Search instead for 
Did you mean: 

Need help with none http profile redirect

Adeola
Nimbostratus
Nimbostratus

Hi All,

 

Can anyone one help with this simple redirection:

 

When users http://adeniyiqa.ngasystem.com/CMWM should be redirected to http://adeniyiqa.ngadsystem.com:8003/CMWM

 

Thanks for you help in advance.

 

Ade

3 REPLIES 3

 ,

 

If you want redirection specific to above host and uri, you can use below iRule. But if you need same redirection for all host with same URI and/or same host with different uri, you need to modify iRule statements accordingly. Let me know if below iRule works for you.

when HTTP_REQUEST { if { [HTTP::host] contains "adeniyiqa.ngasystem.com" }{ if { [HTTP::uri] starts_with "/cmwm" }{ HTTP::redirect http://adeniyiqa.ngasystem.com:8003/cmwm } } }

Mayur

Hi Mayur,

Thanks for a quick response.

Now I cannot attached it to the VS. It generate error below:

"01071912:3: HTTP_REQUEST event in rule (/Common/adeniyiqa

) requires an associated HTTP or FASTHTTP profile on the virtual-server (/Common/adeniyiqa.ngasystem

.vs.tcp.8003)."

 

If I associate HTTP OR FASHTTP profile to the VS it stop working completely because the backend is not build on http.

Is it possible for you to share Virtual Server & backend pool member configuration here to verify same?

 

Mayur