Forum Discussion
Smartboy_67569
Nimbostratus
Feb 17, 2016Irule 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] }
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects