RE: loading mod_perl first?

2005-02-10 Thread Gerald Richter
Hi, Index: TestRunPerl.pm === --- TestRunPerl.pm (revision 153110) +++ TestRunPerl.pm (working copy) @@ -35,6 +35,9 @@ # Apache::TestConfigPerl already configures mod_perl.so

Re: loading mod_perl first?

2005-02-10 Thread Geoffrey Young
This solution looks good to me, but should be mod_embperl.c instead of Embperl.c. well, I went to the embperl site and added this to my httpd.conf LoadModule embperl_module /tmp/Embperl.so and things worked out as expected [ debug] /tmp/Embperl.so is already absolute [ debug]

RE: loading mod_perl first?

2005-02-10 Thread Gerald Richter
Hi This solution looks good to me, but should be mod_embperl.c instead of Embperl.c. well, I went to the embperl site and added this to my httpd.conf LoadModule embperl_module /tmp/Embperl.so and things worked out as expected [ debug] /tmp/Embperl.so is already

RE: loading mod_perl first?

2005-02-09 Thread Gerald Richter
Hi, in TestConfigPerl we have this logic and comment # modules like Embperl.so need mod_perl.so to be loaded first, # so make sure that it's loaded before files inherited from the # global httpd.conf $self-preamble_first(IfModule = '!mod_perl.c', $cfg); what this does

Re: loading mod_perl first?

2005-02-09 Thread Geoffrey Young
may be we should be more flexible right away and use the same approach Apache uses, i.e. have each custom module a say for its insertion priority. So we could add mod_perl as middle module and give other modules an opportunity to load themselves before (first/very_first or after

Re: loading mod_perl first?

2005-02-09 Thread Christopher H. Laco
Geoffrey Young wrote: in general, I think it is atypical that one apache module depends on another module being loaded before it itself can load. that is, in a LoadModule sense - sure, lots of things depend on mod_perl, but they use PerlModule not LoadModule. embperl seems to be the exception to

Re: loading mod_perl first?

2005-02-09 Thread Geoffrey Young
Christopher H. Laco wrote: Geoffrey Young wrote: in general, I think it is atypical that one apache module depends on another module being loaded before it itself can load. that is, in a LoadModule sense - sure, lots of things depend on mod_perl, but they use PerlModule not LoadModule.

Re: loading mod_perl first?

2005-02-09 Thread Stas Bekman
Geoffrey Young wrote: +1 Index: TestRunPerl.pm === --- TestRunPerl.pm (revision 153110) +++ TestRunPerl.pm (working copy) @@ -35,6 +35,9 @@ # Apache::TestConfigPerl already configures mod_perl.so

loading mod_perl first?

2005-02-08 Thread Geoffrey Young
hi all... in TestConfigPerl we have this logic and comment # modules like Embperl.so need mod_perl.so to be loaded first, # so make sure that it's loaded before files inherited from the # global httpd.conf $self-preamble_first(IfModule = '!mod_perl.c', $cfg); what this does is