Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Rea: Redirect page (newbie)

by baku (Scribe)
on May 04, 2001 at 21:25 UTC ( #78035=note: print w/ replies, xml ) Need Help??


in reply to Re: Redirect page (newbie)
in thread Redirect page (newbie)

Actually, you can (and, perhaps, "should") print a web page after a Redirect. The *original* reason was for ancient browsers which might not understand the redirection command. Nowadays, that's mostly limited to a few "dumb" robots and so forth, so the page will generally be ignored. The idea is that the HTML should say something like:


Sorry, you're at the wrong place. Click me to get where you want to be.


Comment on Rea: Redirect page (newbie)
Re: Rea: Redirect page (newbie)
by elwarren (Curate) on May 04, 2001 at 23:26 UTC
    Some webservers send out their own headers for cgi. This problem bit me on a win32 based webserver once. You may want to telnet to port 80 and GET /path/to/your/script.pl and check what headers are returned.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2015-07-04 16:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls