ProxyPass v10/v11
Problem this snippet solves: iRule to replace the functionality of Apache Webserver ProxyPass and ProxyPassReverse functions. Allows you to do hostname and path name modifications as HTTP traffic pa...
Published Mar 18, 2015
Version 1.0Kirk_Bauer_1018
Nimbostratus
Joined November 08, 2006
Kirk_Bauer_1018
Nimbostratus
Joined November 08, 2006
Hajar
Apr 13, 2016Nimbostratus
Thanks Jerry, I removed @ sign, no problem on loading the iRule. I created data group as instructed, I have added entries as I needed to the data group, but for some reason, it is not working. No matter if I apply the irule or not it always goes to the default pool and main page. My data group has the entries a.com/x:=b.com/x and a.com:=c.com and a.com/y:=b.com/y. it always goes to default pool c.com no matter what I type. I have logging enabled. When I type a.com/x all I see stops at ending: Rule ProxyPass : VS=test, Host=a.com, URI=/x: Checking Content-Location=, $protocol= and the next line is Rule ProxyPass : VS=test, Host=a.com, URI=/x: Checking Location=, $protocol= and stops there and I only get the default c.com