Forum Discussion
Irule redirect getting error wrong Args
We are doing a simple redirect from http requests to port 8080. I am getting an error but not sure why.
when HTTP_REQUEST { HTTP::redirect http://[HTTP::uri] :8080[HTTP::uri] }
Thanks in advance
2 Replies
- JamesSevedge_23Historic F5 Account
Hello, You have a space between [HTTP::uri] and ":8080". Below is your same irule minus the space!
when HTTP_REQUEST { HTTP::redirect http://[HTTP::uri]:8080[HTTP::uri] }
Let me know if I can help further...
- amolari
Cirrostratus
And it should rather be:
when HTTP_REQUEST { HTTP::redirect http://[HTTP::host]:8080[HTTP::uri] }
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