Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

Hi,

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 asia.dummy.com 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 "http://ty3.asia.dummy.com:8096:8096/application"

In reply to Re^2: LWP not working with digest authentication by sophate
in thread LWP not working with digest authentication by sophate

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-03-28 08:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found