logo       

Re: Change program name of httpd process: msg#00246

apache.mod-perl

Subject: Re: Change program name of httpd process

Oleg Shaikhatarov wrote:
Hello, all!

I need to change proctitle (called $PROGRAM_NAME or $0 in perl) of httpd
process from mod_perl. Simple change of $0 variable works well for
standalone perl program, but don't work under mod_perl. I'm not sure if
it's possible, but if anyone have an idea how to do this please help.

please give us some more details. What do you do and what doesn't work. e.g. Apache::Registry sets $0 to the location of the currently processed script. Why cannot you do the same?



__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxxxxxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise