Well, I installed last versions of Apache ( 2.0.58 ), DBI ( 1.50 ),
Apache-DBI ( 1.01 ) and mod_perl ( 2.0.2 ).
Here is my stutup file:
# Start of apache-dbi-startup.pl
use Apache::DBI;
use DBI;
$Apache::DBI::DEBUG = 1;
Apache::DBI-connect_on_init(
dbi:Pg:dbname=database;host=localhost,
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:
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:
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
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 determining the
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
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
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).
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
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
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
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
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
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 can be
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_
You might want to
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 ?
Author: pgollucci
Date: Wed Aug 2 18:21:01 2006
New Revision: 428211
URL: http://svn.apache.org/viewvc?rev=428211view=rev
Log:
o add_cleanup_handler()
pass $r to _exit_if_to_big() via shift
this fixes
Can't call method child_terminate on an undefined value
Submitted By: David Wheeler
17 matches
Mail list logo