Forum Discussion
The_Bhattman
Jul 05, 2011Nimbostratus
Hi Luca,
The iRule looks fine from what I can tell. However, I think you can remove
if (dnsDomainIs(host, ".extranet.com")||
dnsDomainIs(host, ".extranet2.com"))
return "Proxy proxy1.ourbusiness.com:8080";
Because you have a
"return "PROXY proxy1.ourbusiness.com:8080";
which is a catch all that if nothing matches the IF statements with the proxy.pac logic - ALWAYS go to proxy1ourbusiness.com:8080
Yes you can create a virtual 192.1.1.1:8080 with the iRule associated to the virtual then accessing the pacfile would be http://192.168.1.1:8080/proxy.pac
I hope this helps
Bhattman