From: Ferris, Jeff <Jeff_Ferris@Dell.com> - 2001-03-27 20:09:05
I can't believe I've been working on the web pretty much since Tim BL
documented v0.9, and I'd failed to realize that would work with http:// as
well as with ftp://
*hangs head in shame*
Security wouldn't be an issue; I'm trying to pull a page that's only
accessible inside my firewall to parse a single string out of it, so I can
dump the external address of my router (frequent updates from dhcp) to one
of my other sites, so I have a backup way to find my home network when
myip.org isn't resolving correctly...
[mailto:misterhouse-users-admin@...]On Behalf Of
Sent: Tuesday, March 27, 2001 9:10 AM
Subject: Re: [misterhouse-users] how can I 'get' a URL that
Just as an aside, AND IF YOU'RE NOT INTERESTED IN THE SECURITY
can access a web page (or ftp site) by modifying the URL.
you can change the URL to
Notice the colon between username and password.
Bruce Winter wrote:
> > but my question is, is there a
> > way to query an authorization-required web page thru something existing
> > mh? The get_url doesn't handle authorization, from what I can tell...
> Looks like LWP::Useragent supports this. I got this from the local
> html, search for useragent:
> $ua->credentials($netloc, $realm, $uname, $pass)
> Set the user name and password to be used for a realm. It is often more
> useful to specialize the get_basic_credentials() method instead.
> So you can try modifying mh/bin/get_url &use_ua section and try adding the
> above. If it works, let me know and we can add here also.
> To unsubscribe from this list, go to:
To unsubscribe from this list, go to:
Get latest updates about Open Source Projects, Conferences and News.