Forum Discussion
pvaughan
Jun 05, 2012Nimbostratus
help with url redirect ltm v10.2.2
Hi All, I am tryin gto do the following and am having fiddiculty getting it to work.
I want a specific URL lets say http://sitea.com to redirect to a specific path on a web-server t...
nathe
Jun 06, 2012Cirrocumulus
pvaughan,
You don't actually say what is going wrong with your iRule.
Anyway, does this work for you?
when HTTP_REQUEST {
if { ([HTTP::host] eq "sitea.com"){ {
HTTP::header replace "Host" "virtualserver.com"
HTTP::uri "/tmtrack/tmtrack.dll?shell=srp"
}
}
Hope this helps,
N
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