Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: LWP not working with digest authentication

by ajinkyagadewar (Novice)
on Apr 18, 2012 at 07:49 UTC ( #965662=note: print w/replies, xml ) Need Help??

in reply to LWP not working with digest authentication


I tried to hit the url in code but it doesn't work. As a preliminary check, you can look at headers that need to passed in request as the authentication mechanism is Digest MD5.

Regards, Ajinkya
  • Comment on Re: LWP not working with digest authentication

Replies are listed 'Best First'.
Re^2: LWP not working with digest authentication
by sophate (Beadle) on Apr 19, 2012 at 03:42 UTC


    Thanks for your help. The webpage is in a private network. It's actually a web admin page of a vendor product. The web page is provided by Apache Tomcat from What I can see but I think it's kind of a trim-down version of Tomcat(I'm a Tomcat newbie) and I don't see any config files for the Tomat server come with the Vendor product.

    Besides, I changed the domain suffix to when I posted the problem here :-)

    I'm trying to create a Perl script to get some information from the web page for the monitoring of the vendor product. The Perl script I used works for some other web pages using Digest authentication but not this one. I've spent hours trouble-shooting but still have no clue what goes wrong . . .

    The web page in question works fine with IE and curl. When I fire the command below, I can get the web page. But the Perl codes I use fail to work . . .

    curl --digest -u admin:admin ""

      typo in my last message. The curl command should be:

      curl --digest -u admin:admin ""

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://965662]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2016-10-22 09:20 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (294 votes). Check out past polls.