I'm working on a link-checker type application, and can't figure
something out for the life of me. I'm using simple stuff like:
if (head($url)) {
# ok document exists
}
... but it doesn't seem to work on any interal
links. I've come to the conclusion that the fact
that I'm running this on a virtual domain with a
shared IP address must have something to do with
it. I've tried using GET with the same problem.
My question is, when I use HEAD and/or GET does
LWP actually use the IP address as opposed to the
hostname? That's the only thing I can think of.
If so, what is the work-around to be able to
GET internal documents on a virtual domain that
is using the same IP address as another site?