Forum Discussion
dundovic_25174
Nimbostratus
Jan 23, 2012HTTP Class profile redirect
I understand this is iRule discussion forum and I can achieve this using iRule, but due to some specific customer requirements, they'd like to have it done using 'HTTP class' profile.
Follo...
hoolio
Cirrostratus
Jan 23, 2012As Michael showed, you can use iRule commands in the Redirect to Location field. So you can append the current URI using [HTTP::uri]. If you want to substitute a string (Folder1) for another (Folder2) within the URI, you could use:
http://server2.domain3.com[string map {Folder1 Folder2} [HTTP::uri]]
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
