Doug MacEachern wrote:
On Wed, 18 Dec 2002, Stas Bekman wrote:

the <Perl> and PerlLoadModule create a chicken and egg problem. May be we should start mod_perl early then kill it, then start again normally?

i don't understand, can you explain more?
We need to start the interpreter early only to be able to feed the configuration directives (PerlLoadModule and <Perl>). If there was a way to start one interpreter to do the config processing and then somehow start mod_perl normally after the config is over. I need to think some more about it.

There is at least one problem with the current mod_perl cvs: If you have PerlLoadModule followed by PerlSwitches, the latter will be lost, since the interpreter will be already running by the time PerlSwitches is reached.

current cvs does not work for me, seems related to this area...
Because I've added an assert for something that wasn't caught before. Please run t/TEST -conf and try again. If it doesn't work please post your httpd.conf. Also make sure that Apache::Test is up-to-date

everything is up-to-date with a fresh tree.
i just tried again, same httpd, fresh modperl tree, vanilla perl 5.6.1, same problem:
/home/dougm/apache/farm/install/prefork-debug-shared-all-exp/bin/httpd -d /home/dougm/apache/mp-build/modperl-2.0/t -f /home/dougm/apache/mp-build/modperl-2.0/t/conf/httpd.conf -DAPACHE2 using Apache/2.1.0-dev (prefork MPM)

waiting for server to start: .Syntax error on line 643 of /home/dougm/apache/mp-build/modperl-2.0/t/conf/httpd.conf:
mod_perl is already running, too late for PerlSwitches
!!!
My notebook has died and I can't reproduce it :( If that prevents from making the release can you please backout this commit and then will get back to it after the release. If there is no hurry, I'll look into when I revive the notebook :( Sorry about that.


__________________________________________________________________
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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to