Forum Discussion
DannyF_69324
Nimbostratus
Aug 18, 2011iRule to display remote content through fake URI
Hey Guys,
I know there is an iRule like this already out there, but I can't seem to find it. Anyway hopefully one of you guys can help me out.
I'm going to be creating several reseller site...
Michael_Yates
Nimbostratus
Aug 19, 2011Hi DannyF,
I modified the HTTP::header portion to look for the Host value. Place the exact IIS Host Head name in that area and you should be good to go.
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"/help" -
"/help/" {
HTTP::header replace Location "https://helpsite.com/help"
HTTP::header replace "Host" "helpsite.com"
pool pool_helpsite
snat automap }
}
}
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
