Forum Discussion
ChrisBlack_1713
Nimbostratus
Sep 23, 2014HTTP redirect not working
I have the following I rule that is working however it will not redirect uppercase /LIVELINK/LIVELINK.EXE Any ideas on how to get it to redirect both upper and lower case?
when HTTP_REQUEST {
pa...
ChrisBlack_1713
Nimbostratus
Sep 23, 2014when HTTP_REQUEST { if { [string tolower [HTTP::uri]] starts_with "/livelink/livelink.exe" } { HTTP::redirect "http://[HTTP::host]/otcs/cs.exe" } }
Would this preserve the portion of the URL after /livelink/livelink.exe?
ChrisBlack_1713
Nimbostratus
Sep 23, 2014Yeah.... We have upgraded an application. So the hostname, virtual directory, and .exe are different however the rest of the URL is still accurate.
EXAMPLE
http://livelinkqa.idexxi.com/livelink/livelink.exe?func=ll&objId=598743&objAction=browse&viewType=1
RE DIRECT TO
http://contentserverqa.idexxi.com/OTCS/cs.exe?func=ll&objId=598743&objAction=browse&viewType=1
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