Forum Discussion
Double response when attempting redirect
Hi!
I've got a .net application that's parsing the following iRule:
when HTTP_REQUEST {
HTTP::respond 301 Location "$proto://www.[HTTP::host][HTTP::uri]"
When the request returns to the application, the URL gets doubled up. This looks like it's because the application passes the URI as the full path, not just the part after the host. Researching URI on the internet looks like there's some ambiguity about how it is supposed to be defined.
Is there some other way we can accomplish the same thing without specifying the URI?
Thanks!
- Jesse
Could you please elaborate more on this? If you give example, that would be more helpful to understand the issue.
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