Pratik wrote:
Hi !

I am using Apache/1.3.33 and Mod-Perl 1.29. I have following httpd.conf file.

====
ServerRoot "/home/pvnaik/lab/mp1"
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
DocumentRoot "/home/pvnaik/lab/mp1/htdocs"
ErrorLog logs/error_log
Port 50505

<Perl>
*0 = "MyApache::Parent";
</Perl>
====

Now if I do 'ps', I don't see the new name of the process.

I've never used that under mp1, did it actually ever work?

I can see some experimental code which is enabled when compiled with -DPERL_TIE_SCRIPTNAME. but I won't have the time to look at it, until after modperl2 is released.

Feel free to look through the code and post a patch if you know how to fix that. If not please ping about this issue again some time later, post 2.0 release.

BTW, did you look in the archives if anybody has asked a similar question before?

Also, I get segmentation fault if I try to use $0 instead of *0.

That's known to segfault. I didn't have a chance to investigate why.


-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to