Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 meditating upon the Monastery: (6)
As of 2015-08-05 00:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (76 votes), past polls