Re: Howto use emacs and perldb to debug mod_perl?

2004-05-07 Thread Paul G. Weiss
On Thu, 06 May 2004 12:22:49 -0700, Stas Bekman [EMAIL PROTECTED] wrote: If someone can write a section explaining how to do that properly, I think it'll be a great addition to our docs. Just post the pod here and I'll add it. Thanks. OK, I'm not exactly a hand at writing pod but I had a

Re: Howto use emacs and perldb to debug mod_perl?

2004-05-06 Thread Paul G. Weiss
On Thu, 6 May 2004 16:12:16 +, [EMAIL PROTECTED] wrote: James Moore claimed to have gotten it right: http://groups.google.ch/groups?q=emacs+mod_perlhl=enlr=lang_en|lang_deie=UTF-8oe=UTF-8selm=1051404465.5094 +85%40yasurernum=1 It partially works for me. The last part doesn't: James Moore

Re: VirtualHost + PerlSetVar

2003-12-22 Thread Paul G. Weiss
On Mon, 22 Dec 2003 15:26:53 -0800, Stas Bekman [EMAIL PROTECTED] wrote: You don't need to walk the config tree to accomplish that. There is a much simpler way: sub post_config { my($conf_pool, $log_pool, $temp_pool, $s) = @_; for (my $vhost_s = $s-next; $vhost_s; $vhost_s =

Re: VirtualHost + PerlSetVar

2003-12-21 Thread Paul G. Weiss
. Furthermore, it doesn't consider PerlAddVar. It would be nice if Apache::Directive was extended so that one could do the equivalent of $node-dir_config(value). -P On Sun, 21 Dec 2003 19:46:15 -0800, Stas Bekman [EMAIL PROTECTED] wrote: Stas Bekman wrote: Paul G. Weiss wrote: Rats

Re: VirtualHost + PerlSetVar

2003-12-20 Thread Paul G. Weiss
on to the maintainer of Apache::PageKit (that is, if he doesn't read this list), because it will affect his documentation. -Paul On Fri, 19 Dec 2003 18:32:46 -0800, Stas Bekman [EMAIL PROTECTED] wrote: Paul G. Weiss wrote: [...] The reason this is important is that I'm trying to get Apache::PageKit to run

Re: VirtualHost + PerlSetVar

2003-12-20 Thread Paul G. Weiss
, 20 Dec 2003 16:52:09 -0500, Paul G. Weiss [EMAIL PROTECTED] wrote: Great suggestion. I'll certainly try that. As to why I expected PerlSetVar to be available during startup, it is because that is how it was with mod_perl1, and I wasn't considering the fact that configuration in mod_perl2

VirtualHost + PerlSetVar

2003-12-19 Thread Paul G. Weiss
I have something like this: PerlModule Module VirtualHost ... PerlSetVar abc def Perl Module-start; /Perl /VirtualHost and in Module.pm use Apache::ServerUtil () ... sub startup { my $value = Apache-server-dir_config(abc); ... } and lo and behold - $value is undef ! However, if I take

Re: VirtualHost + PerlSetVar

2003-12-19 Thread Paul G. Weiss
Apache::PageKit to run in virtual hosts, and it depends on the availability of PerlSetVar variables on startup. -Paul On Fri, 19 Dec 2003 06:28:10 -0500, Paul G. Weiss [EMAIL PROTECTED] wrote: I have something like this: PerlModule Module VirtualHost ... PerlSetVar abc def Perl Module-start