in reply to cgi-wrapper???

I'd check out the /usr/cgiwrap/cgiwrap script...

That script appears to have some errors in it, you could remove the warning tag from the perl bin line. That would probably make the script run...