Forum Discussion
Need help with none http profile redirect
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
,
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
- Adeola
Nimbostratus
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
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com