
stas at stason
Dec 11, 2000, 5:47 AM
Post #3 of 3
(670 views)
Permalink
|
On Mon, 11 Dec 2000, Joshua Chamas wrote: > > jdarrow[at]amazon.com wrote: > > > > Hello, I have a question that may have a simple answer. > > > > In order to satisfy some broader system dependencies I need to define my mod_perl process name. By default $0 seems to get set to "/dev/null". > > When I try to modify $0 in the Apache startup script or elsewhere apache dumps core. I'm running Apache 1.3.9 with mod_perl 1.22 linked in on DEC > > alpha. > > > > local *0 = 'whatever'; # is how I do it and the real name of the script if you are running under Registry and friends can be derived from __PACKAGE__ or $r->filename > > -- Josh > > _________________________________________________________________ > Joshua Chamas Chamas Enterprises Inc. > NodeWorks >> free web link monitoring Huntington Beach, CA USA > http://www.nodeworks.com 1-714-625-4051 > _____________________________________________________________________ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:stas[at]stason.org http://apachetoday.com http://logilune.com/ http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
|