RE: [cgiwrap-users] CGI::Carp w/CGIWrap
Brought to you by:
nneul
From: Neulinger, N. <nn...@um...> - 2002-06-13 19:39:39
|
./configure --help ... --without-redirect-stderr don't redirect stderr to stdout in scripts ... -- Nathan ------------------------------------------------------------ Nathan Neulinger EMail: nn...@um... University of Missouri - Rolla Phone: (573) 341-4841 Computing Services Fax: (573) 341-4216 > -----Original Message----- > From: Kyle [mailto:ky...@cc...]=20 > Sent: Thursday, June 13, 2002 2:30 PM > To: Neulinger, Nathan > Subject: Re: [cgiwrap-users] CGI::Carp w/CGIWrap >=20 >=20 > Nathan, >=20 > I have a multi-user system, but every user has their own error and > access logs. I found cgiwrapd useful when setting up the system > originally, but I'm afraid the other users don't have access to it. >=20 > Can you tell me how to recompile cgiwrap and *not* redirect stderr? I > checked the docs and don't see a switch for this. Thanks. >=20 > -Kyle >=20 > "Neulinger, Nathan" wrote: > >=20 > > Depends on how you configure cgiwrap. Default install is to redirect > > stderr to stdout to make it more useful for multi-user diagnosis of > > problems with scripts where the users don't have access to the error > > log. (This is VERY useful when combined with cgiwrapd, as=20 > you can see > > the exact error and script output intermingled.) > >=20 > > -- Nathan > >=20 > > ------------------------------------------------------------ > > Nathan Neulinger EMail: nn...@um... > > University of Missouri - Rolla Phone: (573) 341-4841 > > Computing Services Fax: (573) 341-4216 > >=20 > > > -----Original Message----- > > > From: Kyle [mailto:ky...@cc...] > > > Sent: Thursday, June 13, 2002 2:00 PM > > > To: CGIWrap Users Group > > > Subject: [cgiwrap-users] CGI::Carp w/CGIWrap > > > > > > > > > Hello group. To put nicely formatted error messages into=20 > my server's > > > error logs, I'm using CGI::Carp. Carp nicely formats=20 > warn() and die() > > > with time & date stamps and directs errors to STDERR. =20 > Apache takes > > > information from STDERR and puts it in the http.err log. But with > > > CGIWrap installed, Apache doesn't seem to be getting the error > > > messages. Is there anything I can do to make it work the=20 > way Carp is > > > supposed to? > > > > > > Here's a snippet of my httpd.conf: > > > ScriptAlias /cgi-bin/ /utils/cgi-bin/ > > > AddHandler cgi-wrapper .cgi .pl > > > Action cgi-wrapper /cgi-bin/cgiwrap/~wfp86007 > > > ErrorLog /net/www/wfp86007/logs/http.err > > > CustomLog /net/www/wfp86007/logs/access.log combined > > > > > > More info about CGI::Carp can be found here: > > > http://search.cpan.org/doc/LDS/CGI.pm-2.80/CGI/Carp.pm > > > > > > Thanks! > > > > > > -Kyle > > > > > > _______________________________________________________________ > > > > > > Don't miss the 2002 Sprint PCS Application Developer's Conference > > > August 25-28 in Las Vegas - > > > http://devcon.sprintpcs.com/adp/index.cfm?> source=3Dosdntextlink > > > > > > > > > _______________________________________________ > > > cgiwrap-users mailing list > > > cgi...@li... > > > https://lists.sourceforge.net/lists/listinfo/cgiwrap-users > > > >=20 |