Re: PerlSetVar

2006-08-02 Thread Vladimir S. Tikhonjuk
Philip M. Gollucci пишет: >Vladimir S. Tikhonjuk wrote: > > >>Philip M. Gollucci пишет: >> >> >> >>>Vladimir S. Tikhonjuk wrote: >>> >>> >>> >>> I set in httpd.conf variable like: PerlSetVar var test; How can I get it in the startup.pl script ?

Re: PerlSetVar

2006-08-02 Thread Philip M. Gollucci
Vladimir S. Tikhonjuk wrote: > Philip M. Gollucci пишет: > >> Vladimir S. Tikhonjuk wrote: >> >> >>> I set in httpd.conf variable like: PerlSetVar var test; >>> >>> How can I get it in the startup.pl script ? >>> >>> >> http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlSetVar

Re: how to use mod_perl sections with mod_jk?

2006-08-02 Thread robert
Well I've just converted all places in httpd.conf where I need to do interpolation to use here documents and $PerlConfig so consider me a convert. Quoting "Andreas J. Koenig" <[EMAIL PROTECTED]>: > > On Wed, 2 Aug 2006 14:16:00 -0500, [EMAIL PROTECTED] said: > > > Can you show me how this

Re: how to use mod_perl sections with mod_jk?

2006-08-02 Thread Andreas J. Koenig
> On Wed, 2 Aug 2006 14:16:00 -0500, [EMAIL PROTECTED] said: > Can you show me how this can be configured then without using $PerlConfig > JkWorkerProperty worker.list=myWorker > JkWorkerProperty worker.myWorker.port=$workerPort > JkWorkerProperty worker.myWorker.host=127.0.0.1

Re: how to use mod_perl sections with mod_jk?

2006-08-02 Thread robert
Can you show me how this can be configured then without using $PerlConfig JkWorkerProperty worker.list=myWorker JkWorkerProperty worker.myWorker.port=$workerPort JkWorkerProperty worker.myWorker.host=127.0.0.1 JkWorkerProperty worker.myWorker.type=ajp13 JkWorkerProperty worker.myWorker.s

Re: PerlSetVar

2006-08-02 Thread Jonathan Vanasco
On Aug 2, 2006, at 7:18 AM, Vladimir S. Tikhonjuk wrote: Well, nice advise, but where can I get $r ( Apache2::RequestRec ) variable in startup.pl script ? In handler script - everything is O.K. But startup.pl! You can't. Apache2::RequestRec is a per-request variable. startup.pl/httpd.conf ar

Re: Problem with Apache 2.2.2 / modperl 2.0.2 and Apache2::SOAP

2006-08-02 Thread Georg Grabler
Nope, i always just played around in the original module, installing it over and over again with make install.So i've been testing the patched lib.Strange by the way is that the error throwing means he can't find the function modperl2 provides, not modperl1 (!)... Though i'll wait for the release o

Re: Problem with Apache 2.2.2 / modperl 2.0.2 and Apache2::SOAP

2006-08-02 Thread Randy Kobes
On Wed, 2 Aug 2006, Tom Schindl wrote: Georg Grabler schrieb: A the logfile says, i execute the method using Apache2. [ .. ] Do you have mp1 and mp2 installed in the same perl-tree. If yes then it's clear why you always get to "$self->{'MOD_PERL_VERSION'} = 1;". To distinguish if running in

Re: Problem with Apache 2.2.2 / modperl 2.0.2 and Apache2::SOAP

2006-08-02 Thread Tom Schindl
Hi, Just read your bug report and could swear the test suite fails because you haven't patched the original module but the one you have already installed in your /usr/perl5/lib/... when running "make test" the module in the downloaded distro is used and not the one already installed (and patched).

Re: Problem with Apache 2.2.2 / modperl 2.0.2 and Apache2::SOAP

2006-08-02 Thread Georg Grabler
Followed your advice, i filed a bug report.GeorgOn 8/2/06, Tom Schindl <[EMAIL PROTECTED]> wrote: Would you mind filing a bug against Apache2::SOAP. Then Randy may fixhis dirty hack to determine MP2-Version ;-) http://rt.cpan.org/Public/Dist/Display.html?Name=Apache2-SOAPTomGeorg Grabler schrieb:>

Re: Problem with Apache 2.2.2 / modperl 2.0.2 and Apache2::SOAP

2006-08-02 Thread Tom Schindl
Would you mind filing a bug against Apache2::SOAP. Then Randy may fix his dirty hack to determine MP2-Version ;-) http://rt.cpan.org/Public/Dist/Display.html?Name=Apache2-SOAP Tom Georg Grabler schrieb: > Well, i kicked out the old code which seemed to be buggy of > Apache2::SOAP, and used the c

Re: Problem with Apache 2.2.2 / modperl 2.0.2 and Apache2::SOAP

2006-08-02 Thread Georg Grabler
Well, i kicked out the old code which seemed to be buggy of Apache2::SOAP, and used the codepiece you gave me to determine which modperl version i'm using.What shall i say, except thank you very much, Tom. It works perfectly now, and all the day searching for a mistake i did in my server configurat

Re: Problem with Apache 2.2.2 / modperl 2.0.2 and Apache2::SOAP

2006-08-02 Thread Tom Schindl
Georg Grabler schrieb: > A the logfile says, i execute the method using Apache2. > > For a better understanding: > > my $cl = ($self->{'MOD_PERL_VERSION'} == 1) ? > $r->header_in('Content-length') : $r->headers_in->{'Content-length'}; > > This is the code Apache2::SOAP module uses for dete

Re: Problem with Apache 2.2.2 / modperl 2.0.2 and Apache2::SOAP

2006-08-02 Thread Georg Grabler
A the logfile says, i execute the method using Apache2.For a better understanding:   my $cl = ($self->{'MOD_PERL_VERSION'} == 1) ?    $r->header_in('Content-length') : $r->headers_in->{'Content-length'}; This is the code Apache2::SOAP module uses for determining the version of modperl.The $self->{'

Re: Problem with Apache 2.2.2 / modperl 2.0.2 and Apache2::SOAP

2006-08-02 Thread Tom Schindl
Georg Grabler schrieb: > I'm experiencing Problems with the setting written above. > > Currently, i'm running the configuration as written in the header. > > The apache config (by doing make test) outputs the following: > > > [Wed Aug 02 10:15:10 2006] [notice] Apache/2.2.2 (Unix) mod_perl/2.0.

Problem with Apache 2.2.2 / modperl 2.0.2 and Apache2::SOAP

2006-08-02 Thread Georg Grabler
I'm experiencing Problems with the setting written above.Currently, i'm running the configuration as written in the header.The apache config (by doing make test) outputs the following:[Wed Aug 02 10:15:10 2006] [notice] Apache/2.2.2 (Unix) mod_perl/2.0.2 Perl/v5.8.2 configured -- resuming normal op

Re: PerlSetVar

2006-08-02 Thread Vladimir S. Tikhonjuk
Philip M. Gollucci пишет: >Vladimir S. Tikhonjuk wrote: > > >>I set in httpd.conf variable like: PerlSetVar var test; >> >>How can I get it in the startup.pl script ? >> >> >http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlSetVar_ > >You might want to read and re-read and re

Re: PerlSetVar

2006-08-02 Thread Philip M. Gollucci
Vladimir S. Tikhonjuk wrote: > I set in httpd.conf variable like: PerlSetVar var test; > > How can I get it in the startup.pl script ? http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlSetVar_ You might want to read and re-read and re-read and re-read The 2.0 Users Guide here

[Fwd: CPAN Upload: P/PG/PGOLLUCCI/Apache-DBI-1.02.tar.gz]

2006-08-02 Thread Philip M. Gollucci
The uploaded file Apache-DBI-1.02.tar.gz has entered CPAN as file: $CPAN/authors/id/P/PG/PGOLLUCCI/Apache-DBI-1.02.tar.gz size: 33000 bytes md5: c9edfcb897652f52062624e11d9c9d9b No action is required on your part Request entered by: PGOLLUCCI (Philip M. Gollucci) Request entered on:

PerlSetVar

2006-08-02 Thread Vladimir S. Tikhonjuk
Hi all! I set in httpd.conf variable like: PerlSetVar var test; How can I get it in the startup.pl script ? Vladimir.