I hope others more knowledgable will reply, but upon reading, I would offer the following possibilities:
- the server may be using named-based virtual hosting, which would (I believe) require a HTTP/1.1 header with a "Host: sitename" key-value pair prior to the request, and
- the page/site may be using cookies for maintaining state and requesting that information further on
I would recommend chapter 20, "Web Automation," in Perl Cookbook, or Web Client Programming with Perl (the latter I understand is no longer in print, although there may be some information regarding on the O'Reilly website). Some of the links here, especially in the Outside Links section, may also be of assistance.
I hope this helps somewhat, and good luck.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.