Hi, DevCentral community!
I’ve been checking the forum and trying different answers from the community for other requests, but I haven’t been able to do what I need to do, this is the scenario:
The client wants to receive the content of http://abc.com/xyz-xyz when he accesses through http://abc.com
In short, I need to forward the traffic to the pool with the URI /xyz-xyz but the URL has to be static as http://abc.com
Could anyone help me with the iRule?
when HTTP_REQUEST {
if { ([HTTP::host] eq "abc.com") } {
if { ([HTTP::uri] equals "/") } {
HTTP::uri "/xyz-xyz"
}
pool Client-pool
text
}
}
Thank all of you for your help and your time!