A CGI script that returns nothing?
by Bill Rhodes <wrhodes(at)qualcomm.com>
|
Date: |
Fri, 31 Mar 2000 14:52:17 -0800 |
To: |
hwg-servers(at)hwg.org |
References: |
GIBRALTAR |
|
todo: View
Thread,
Original
|
|
For reasons that are completely convoluted, I need to alter a Perl CGI
script such that when certain parameters are passed to it the script
returns nothing to the browser: no headers, no HTTP codes, no nothing.
I'm really stumped, and I'm not sure that I should be since it seems on the
face of it to be a pretty simple task to do nothing. It's just that I've
never been asked to do this before. The obvious attempts ("exit if $param"
type things) don't work (500 error, bad headers, as you'd expect). I
wanted to use an nph script, so I could control the headers, but I can't
for various reasons.
So how do you do it? Can it be done? Is there a way to do it in Apache
(1.3.9 on Solaris)?
I appreciate the help greatly.
-B
HWG: hwg-servers mailing list archives,
maintained by Webmasters @ IWA