[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] cgi-wrap?



on 4/22/02 4:56 PM, Dan Kriwitsky at list1@xxxxxxxxxxxxxxxxxxxx wrote:

>> i'm new to the whole cobalt thing, as i'm more of a redhat
>> geek, so i'm unfamilliar with this whole cgi-wrapper thing.
>> what is it?
> 
> http://www.google.com/search?sourceid=navclient&querytime=YT-E&q=cgi%2Dw
> rap
> 
>> do they have a private error log
>> that i can access? or am i stuck guessing at what's going wrong?
>> 
>> 
> Without the exact error message and possibly the URL of a .txt version
> of the script, so is anyone else.

cgi-wrap can be a bit of a pain.  Often a -w flag in the first line can kill
your script.  To log your errors to a custom file, try including the
following near the top of your script:

open(LOG, ">>error.txt");
open(STDERR, ">&LOG");


Olaf


-- 
Olaf Alders

olaf@xxxxxxxxxxxxxxx
http://vilerichard.com

Free web stats and counters:  http://www.wundercounter.com