# HTTP::header redirect not working

**URL:** <https://community.f5.com/t/http-header-redirect-not-working/1853>\
**Category:** Technical Forums\
**Tags:** irules, header, application-delivery, http, http-redirect\
**Created:** [August 31, 2016, 2:58pm UTC](https://community.f5.com/t/http-header-redirect-not-working/1853 "2016-08-31T14:58:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JamesRRR\_106606](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@JamesRRR\_106606](https://community.f5.com/u/JamesRRR_106606)\
**Post date:** [August 31, 2016, 2:58pm UTC](https://community.f5.com/t/http-header-redirect-not-working/1853/1 "2016-08-31T14:58:31Z")

</div>

Using code below the traffic is not being sent to CSN\_UWide\_T2.

when HTTP\_REQUEST { if { [HTTP::header exists “UNCARedirect”] }{ virtual CSN\_UWide\_T2 } else { virtual CSN\_UWide\_T1 } } }

---

<div class="post-metadata">

**Author:** ![Vijay\_E](https://avatars.discourse-cdn.com/v4/letter/v/4bbf92/32.png) [@Vijay\_E](https://community.f5.com/u/Vijay_E)\
**Post date:** [August 31, 2016, 3:29pm UTC](https://community.f5.com/t/http-header-redirect-not-working/1853/2 "2016-08-31T15:29:32Z")

</div>

So, you want to move traffic with header information to a different Virtual Server ? Were you able to utilize CURL to check the response ?
