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

Re: URL redirection

by snopal (Pilgrim)
on Oct 22, 2007 at 13:16 UTC ( #646437=note: print w/replies, xml ) Need Help??


in reply to URL redirection

If you need to see the output of headers from the CGI you are writing to make sure they conform to your expectations, you can pass your parameters on the command line:

#> perl mytest.cgi username=myname userid=9999

Your output is what is sent to the client browser, unless your web server re-interprets your content (some do). If you see anything in the header not matching what a HTML Header should look like, that is likely what is breaking your page.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2020-10-30 14:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (280 votes). Check out past polls.

    Notices?