I'm trying to upload images with Uploadify but I run into IO error. I have got http://github.com/leeh/uploadify_paperclip_demo and it works on my computer, so I decided to implement functionality of my application to this example step by step to catch the error and discovered that the reason of IO error is my local proxy.pac (I use FF):
function FindProxyForURL(url, host) {
if (shExpMatch(host, "*.app.local*")) {
return "PROXY 127.0.0.1:3000";
}
return "DIRECT";
}
Everything works fine with http://127.0.0.1:3000/manager/photos and there is IO error with http://www.app.local/manager/photos. I have tried to switch off proxy.pac and use hosts file (I'm on windows xp), Uploadify works with http://www.app.local:3000/manager/photos. I can't refuse to deal with local proxy because I use subdomains (Subdomain-fu) and I'm not ready to add every subdomain to hosts.
Ideas? Any help will be appreciated.
p.s: I've got the same error with SWFUpload. And my opinion that Uploadify is easier to use in development.