Oops..I've been debugging at the wrong place..
Thanks Geoff.
-Pratik
On Fri, 07 Jan 2005 15:15:57 -0500, Geoffrey Young
<[EMAIL PROTECTED]> wrote:
>
> >
> > $Listen = 44901;
> >
> >
> >
> > $Listen = 44901;
> >
>
> this isn
it. I'd be
interested in writing the patch.
Thanks,
Pratik
--
http://pratik.syslock.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Looks like this patch is solving all the problems :)
Happy New year !
Thanks,
Pratik
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
before or
> was encountered, that will be the value that any
> post-post_config handler will see when called for that container.
>
> Let me know if that's OK with you.
>
Yeah ! That's great :)
Thanks,
Pratik.
--
http://pratik.syslock.org
--
Yup. The patch is working nice and solving all the issues related to
PerlPassEnv & PerlSetEnv.
Thanks,
Pratik
On Tue, 28 Dec 2004 15:34:11 -0500, Stas Bekman <[EMAIL PROTECTED]> wrote:
> Pratik wrote:
> > I've been trying get this patch working. The basic
failed.
I have added one test in this patch, which is failing on latest mp2
cvs snapshot.
I am just able to compile this patch. But "make test" is failing.
Please Help.
Thanks,
Pratik
diff -ruN /home/pvnaik/lab/mp2src/modperl-2.0/src/modules/perl/modperl_cmd.c
modperl-2.0/src/modu
modperl_env_hv_populate().
The idea behind this patch is to make entry into %ENV() on the
occurrence of PerlPassEnv and PerlSetEnv, at the same time making an
entry into server table.
Thanks,
Pratik
diff -ru
/home/pvnaik/lab/mp2src/mod_perl-2.0.0-RC1/src/modules/perl/modperl_cmd.c
mod_perl-2.
> Very nice work, Pratik. The only problem is that it syncs SetEnv|PassEvn
> <=> %ENV completely twice for each .., PerlRequire and
> PerlModule, which is not very effective. It would be nice to keep track of
> just what keys have changed.
>
I need a little help here. MP2 d
Env & scfg->PassEnv ) with %ENV.
Thanks,
Pratik
diff -ru mp2src/mod_perl-2.0.0-RC1/src/modules/perl/modperl_cmd.c
patches/mymp2/mod_perl-2.0.0-RC1/src/modules/perl/modperl_cmd.c
--- mp2src/mod_perl-2.0.0-RC1/src/modules/perl/modperl_cmd.c2004-12-12
13:49:11.0 -0800
+++ patches/mymp
at to have this issue sorted out. Becaue without it,
we will not be able to upgrade to mp2 :(
Thanks,
Pratik
On Thu, 16 Dec 2004 18:08:48 -0500, Stas Bekman <[EMAIL PROTECTED]> wrote:
>
> >>1) copy environ to %ENV and detach at the very beginning.
> >>
> >>now if
>
> Thanks for the example, Pratik. Now it's more clear to me.
>
> I propose the following "simple" solution:
>
> 1) Keep %ENV intact at the server startup, so anything set in the shell is
> seen from perl
> 2) PerlPassEnv and PerlSetEnv aren't run ye
s dealing with $ENV{PATH} and
$ENV{LD_LIBRARY_PATH} in the commong.conf file.
Regards,
Pratik
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
and the doc should just say, that PerlSetEnv takes
> effect only in post_config phase and drop any semi-complete support in
> sections (i.e. dropping modperl_env_configure_server() completely).
>
Any suggestions / workarounds ?
Regards,
Pratik
ne for me. But probably, calling
modperl_env_configure_server() for every eval_pv would be a bit
costly.
Another option may be to call modperl_env_hv_store():modperl_env.c
from MP_CMD_SRV_DECLARE2(set_env) and MP_CMD_SRV_DECLARE(pass_env) of
modperl_cmd.c.
Regards,
Pratik
--
I've just tested it with latest mod_perl 2.0 CVS version and the
problem I had encountered is now fixed.
Thank you,
Pratik
On Sun, 26 Sep 2004 00:04:52 -0700, Philippe M. Chiasson
<[EMAIL PROTECTED]> wrote:
> Stas Bekman wrote:
>
> > Pratik wrote:
> >
> >>
I was building mp2 statically ( latest cvs version ) with the following :
perl Makefile.PL MP_USE_STATIC=1 MP_INST_APACHE2=1
MP_AP_PREFIX=/home/pratik/src/mp2/httpd-2.0.51 MP_MAINTAINER=1
MP_AP_CONFIGURE="--enable-maintainer-mode --enable-so --enable-rewrite
--enable-logio --enable-log-for
le.PL MP_AP_PREFIX=/home/pratik/src/mp2/httpd-2.0.51
MP_AP_BUILD=1 MP_AP_CONFIGURE="--enable-so"
But it failed with the following errors.
[ error] Can't find apr include/ directory,
[ error] use MP_APR_CONFIG=/path/to/apr-config
Then I went to apache source directory and did "
17 matches
Mail list logo