Forum Discussion
iRule cannot fetch iFile (wpad.dat)
Just guessing, Suspecting issue with external data source
hxxp://x.x.x.x/MDD/wpad.dat
.
In this case iRule iFile is searching details inside F5 directory
/config/filestore/files_d/Common_d/ifile_d
Can you import wpad.dat file in F5 and run @AMG's iRule.
System > File Management--> iFile List --> Import
Hope will work...
Cheers...
Hi AMG and F5_Rock. Thanks for your support. I have checked the iFile exist and the Iruel scan be saved after validating the file path so it could be iFile content is not correct. Below is the brief content of wpad.dat file. Do you see any invalid parameters which could cause fetching issue?
function FindProxyForURL(url, host) {
// Send via proxy if (shExpMatch(url, "http://news.com.au/") || shExpMatch(host,"optus.com.au") ) return "PROXY webproxy.test-domain.com:8080";
// Send direct if (shExpMatch(host,".yahoo.com") || shExpMatch(host,".telstra.com") || shExpMatch(host,"*.weather.com.au") ) return "DIRECT";
// DEFAULT RULE: All other requests, send via proxy return "PROXY webproxy.test-domain.com:8080"; }
regards, Rob
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