Forum Discussion
Need help creating a irule to reverse proxy .
Hi Mel,
in my opinion the iRule below would be the last "easy" implementation method.
If this iRules is not working out, then you SHOULD ask your provider to accept the hostname "www.lightsource.com" for the blog website and ask them to store every related content underneath of the path "/blog" without any exeptions.
If the provider can't do / is willing to do this, then you have to dig into the web site content and start to translate included URLs, HTTP-Redirects, etc. But this would then require some deeper HTTP/HTML knowledge and some time to figure out what needs to be changed...
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] eq "www.lightsource.com" and [HTTP::path] starts_with "/blog" } {
HTTP::replace Host lightsource.wpengine.com
pool test-reverse-proxy
}
}
Cheers, Kai
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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
