Forum Discussion
iControl to assign iRule to VIP in partition other than Common
- Jul 09, 2022
Hello Gary
Just try this instead
https://****.****.com/mgmt/tm/ltm/virtual/~DevOps~gary-dev.yrcw.com_vs
- Jul 11, 2022
Hello Gary,
Use PATCH method instead of PUT.
Now that I've got it coded that way:
curl -k -X PUT -H Content-Type: application/json -H X-F5-Auth-Token: **** -d {"rules":["/Common/_sys_https_redirect"]} https://****.****.com/mgmt/tm/ltm/virtual/~DevOps~gary-dev.yrcw.com-redir_vs
I get an HTTP 400 with:
The source (::) and destination (*.*.148.61) addresses for virtual server (/DevOps/gary-dev.yrcw.com-redir_vs) must be be the same type (IPv4 or IPv6).
So I guess the question is why does it think the source is blank when the HTTP and HTTPS VIP both have the same IP?
Hello Gary,
Use PATCH method instead of PUT.
- Gary_Lon_BrownJul 11, 2022Altostratus
Okay, got it. Now it's working. Thanks much.
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