in reply to Why don't I get a redirect

Telnet there as per dws' suggestion and look at the source:

<meta name="generator" content="DNSCentral.com Forwarding Services (naboo)">

and later

<frameset rows="100%,*">
<frame src="http://www.mindspring.com/~nellaware/glujodat.html" name="dnscentral_fwd" scrolling="auto" frameborder="0" border="0" noresize>
<noframes>
<h2>NELLA_WARE - Writing Software For You!</h2>
<p><a href="http://www.mindspring.com/~nellaware/glujodat.html">Please click to visit nellaware.com</a>.</p>
</noframes>
</frameset>

That's no DNS forwarding, the 404 page just contains a frameset that will cause a frame-capable browser to load the page from the real server inside a frame that fills the entire window - a standard URL "redirector" service trick.

You simply want to go to http://www.mindspring.com/~nellaware/glujodat.html.

Makeshifts last the longest.

Replies are listed 'Best First'.
Re: Re: Why don't I get a redirect
by jonjacobmoon (Pilgrim) on Sep 21, 2002 at 16:10 UTC
    That is all well and good, but the question remains. How come I don't get a redirect with the original code. Yes, I can do all that by hand, but that does not help me.

    So, what is it about my code that fails to do the redirect or is there something on the server that purposely does not give me the redirect? The telnet stuff is interesting for testing but is not ultimately the way I want to do it.



    I admit it, I am Paco.
      You didn't understand. There is no redirect. The "redirect" consists of loading the target page in a window-filling frameset. As such, it has nothing to do with HTTP and consequently isn't handled by the LWP modules.

      Makeshifts last the longest.

        Now, that all makes sense. I didn't notice it until you mentioned the frameset, but another part of the code that handles framesets should have handled it correctly but failed bec of a bug with trailing slashes (see my other post) that I have fixed since. Now, it all works. Thanks for the jogging of my mind :)


        I admit it, I am Paco.