Forum Discussion
Olivier_Minet_6
Jan 28, 2014Nimbostratus
Replace subdomain and remove path
Greetings,
I'm struggling with this :
I would like this :
http://www.mysite.org/customfiles/mydoc.htm
transformed into this:
http://customfiles.mysite.org/mydoc.htm
Of course, there are seve...
IheartF5_45022
Jan 29, 2014Nacreous
I think counting may be the problem :-);
when HTTP_REQUEST {
if { [HTTP::path] starts_with "/customfiles"} {
HTTP::uri [string replace [HTTP::path] 0 11 ""]
HTTP::header replace Host "customfiles.onprvp.fgov.be"
pool my_pool
}
}
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