LWP and proxying/authentication??
am 13.07.2006 02:37:44 von eliakimhi there.
quick question. i am trying to use WLP::Simple's getstore() function
to save .htm pages. the site i am trying to access is password
protected, however, and i have to proxy in order to access it. when
i try a non-encrypted site, the code works fine, so i'm pretty sure
this is the problem.
here's the deal. in my system preferences, i have auto proxy
configuration selected, and the following url included http://
library.stanford.edu/apcproxy/suproxy.pac
when i try to access the site in question (or any other stanford-only
site), it redirects me to a page asking for my username/password, and
then forwards me on to the originally requested page. after i do
this once in the browser, i no longer need to do it again. i was
hoping this would mean that my perl program would be ok, too, but it
looks like that's not the case
i'm hoping there's a library that will allow me to fix this problem.
any help, sample code, or links would be greatly appreciated. thanks!
eli