Hello,
I have a form which calls perl script "a.pl". This script does some managerial tasks and then sends a redirection back to the browser. Although, this redirection is the path to another perl script "b.pl" which produces some output to the user. The problem is that even though script "b" gets accessed (it is on a protected area so i can see the authentication box poping up) it never returns any output. Actually, the browser waits indefinetelly till i get an IO timeout.
What's the correct method of redirecting from a script to another script?
Note1: I've even tried puting "b" in the same (non-protected) area as script "a" but i get the same result.
Note2: Script "b" itself (i.e. calling it directly) produces the expected output.
Note3: My server's error log:
[06/Sep/2000:12:45:53] warning (22941): for host 10.xxx.xxx.xxx trying
+ to GET /cgi/b.pl, start-http-response reports: write failed (Broken
+p
ipe)
[06/Sep/2000:12:45:53] warning (22941): for host 10.xxx.xxx.xxx trying
+ to GET /cgi/b.pl, start-http-response reports: write failed (Broken
+p
ipe)
[06/Sep/2000:12:48:39] failure (22941): for host 10.xxx.xxx.xxx trying
+ to GET /cgi/b.pl, cgieng_send_content reports: error occurred while
+sending content to script (IO timeout error)
Any help really appreciated!
-n-
Originally posted as a Categorized Question.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.