Forum Discussion
LTM Traffic Policy
I 'm going round in circle here!
I want to assign numerous actions for a request to a host. so I have rule properties for http-host equals dems.test.co.uk - the actions I want and where need help are as follows:-
redirect to https and add uri to end - https://dems.test.co.uk/Scripts - where I'm having issue forward to pool - done and fine with this, forward request to pool
first I assume I can actually have multiple actions and assume it completes all of them and not just the first?
1 Reply
- Stanislas_Piro2
Cumulonimbus
Hi,
The easiest solution is to redirect HTTP to HTTPS first, then redirect / to /script if HTTPS VS.
HTTP Virtual server- Assign irule _sys_https_redirect
rule1:
-
conditions:
- http-host host equals dems.test.co.uk
- http-uri path equals /
-
Actions
- http-reply redirect location /Scripts
rule2:
-
conditions:
- http-host host equals dems.test.co.uk
-
Actions
- forward pool pool_dems
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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