Forum Discussion
WUM_113639
Nimbostratus
Mar 11, 2014Redirection VS with Irule
Hi,
I have a VS with redirection only, without any resource, I have not come across such requirement before, but I have got to make it work, I would appreciate the help in making it work.
i...
Kevin_Stewart
Employee
Mar 11, 2014Try this:
when HTTP_REQUEST {
if { [string tolower [HTTP::url]] equals "/wpad/wpad.dat" } {
HTTP::redirect "http://192.168.50.207:8080/accelarated_pac_base.pac"
}
}
The HTTP::uri command only returns the URI portion of the request.
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