What does it do when it doesn't work? Does the same thing work without EZPROXY? What is EZPROXY? | [reply] |
Thanks for your reply.
EZPROXY is a proxy server that web transactions go through. It works by puting this prefix before a web transaction:
http://10.1.235.60:8181/login?user=admin&pass=123456&url=http://www.something.com
When I try to retrieve a web page through this proxy using the LWP::UserAgent, I get a page that wants my username and password (which I have put in the prefix). However, when I use manual redirection instead of the UserAgent redirection, I manage to retrieve the page.
Manual redirection is a long and ugly process, which I would like to do without. Any Ideas?
Thanks again
Guy Naamati
| [reply] |
It sounds like a bug in EZPROXY, not handling cookies or redirects correctly. I'd suggest trying a different proxy, or else analyzing the difference in the sent and returned headers when using the proxy vs. not using it to find what EZPROXY is leaving out.
| [reply] |
I forgot to add, that the UserAgent redirection works when not using EZPROXY.
| [reply] |