Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Answer: Redirecting from a scipt to another script

by mhi (Friar)
on Oct 29, 2002 at 07:39 UTC ( #208687=categorized answer: print w/replies, xml ) Need Help??

Q&A > CGI programming > Redirecting from a scipt to another script - Answer contributed by mhi

The problem seems to have something to do with the new line of Netscape/Mozilla clients (since around Netscape 4.7).

I have had a perl cgi application running on a Netscape Fasttrack Server 3.01 (a forerunner of the iPlanet-Servers) on HP-UX 10.20 (now 11.0) since 1998 and it never did this kind of thing with the old browsers.

By analyzing the logs and results from debugging code I was astonished to find that everything was actually going as expected: cgi a was executed, the browser received the redirect, called cgi b, which was executed and completed. But still I kept getting core files, no output in the browser and logs of TIMEOUTS or PREMATURE EOFs as seen below until I changed from relative to absolute URLs as described by Michiel above.

[25/Oct/2002:20:46:16] failure: for host 141.36.65.205 trying to GET / +cgi-bin/fw/fw_ordner.pl, send-cgi reports: error occurred while sendi +ng content to script (IO timeout error) [28/Oct/2002:10:49:57] failure: for host 141.36.65.205 trying to GET / +cgi-bin/fw/fw_ordner.pl, send-cgi reports: error occurred while sendi +ng content to script (premature EOF)
This is very strange.

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2020-09-21 08:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (125 votes). Check out past polls.

    Notices?