Forum Discussion
coulbournc_1514
Nimbostratus
May 10, 2018Redirect does not include file in uri
I'm trying to create a profile or Irule to redirect links from a dead site to another site.
Old:
New:
I was able to create a profile that changes the host name and changes the path f...
coulbournc_1514
Nimbostratus
May 11, 2018I was able to figure it out.
when HTTP_REQUEST { if { [string tolower [HTTP::host]] eq "oldserver" and [string tolower [HTTP::path]] starts_with "/forms/pdf"} { set file [string range [HTTP::uri] 11 end] HTTP::respond 302 location "$file" } }
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
