Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Help needed on HTTP redirects

by mpeg4codec (Pilgrim)
on Aug 05, 2004 at 02:28 UTC ( #380174=note: print w/ replies, xml ) Need Help??


in reply to Help needed on HTTP redirects

I'm not sure if you're looking for a strictly CGI.pm way of doing this, but to be overly simple:

print "Location: http://www.example.com/foo.html\n\n";
That would also require not using Content-type in the header.


Comment on Re: Help needed on HTTP redirects
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (10)
As of 2014-07-28 09:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (194 votes), past polls