Re: mod_perl2 1.99_14 and httpd 2.0.49 - gmake test fails (cannot start apache)

2004-07-23 Thread Stas Bekman
Stas Bekman wrote: [...] Otherwise please try the static build, which supposedly shouldn't have this problem. It's currently available only as a patch against the current cvs. Frankly, I'm not sure why Philippe doesn't commit it. You can get it here: http://marc.theaimsgroup.com/?l=apache-modper

Re: Method Handler not working

2004-07-23 Thread Perrin Harkins
On Fri, 2004-07-23 at 18:12, MARTIN MOSS wrote: > My question is, If you don't have a PerlModule > statement or a use My::Module, or a require or a > +My::Module statement so it looks like this > > #PerlModule My:Module > > set-handler PerlScript > PerlHandler My::Module > > > But the module

Re: Adding more locations to INC in startup.pl

2004-07-23 Thread JupiterHost.Net
David Arnold wrote: All, Is this OK? # File: startup.pl use lib qw(/home/darnold/modperl/); use lib qw(/usr/local/apache/module/); Sure but if you "use lib" twice all you need are single quotes instead of qw(): use lib '/home/blah/'; use lib '/usr/local/'; 1; but even better: use lib qw(/home/bl

Re: mod_perl2 1.99_14 and httpd 2.0.49 - gmake test fails (cannot start apache)

2004-07-23 Thread Stas Bekman
Alexey Bozrikov wrote: Good day or whatever it is at your location, 1. Problem description couple of days ago I have compiled and (to the extent of my competency) tested Apache httpd 2.0.49 on powerpc-aix-5.1.0.0 platform (IBM RS6000 7009 C10 model). Now trying to compile mod_perl 1.99_14.

Re: startup.pl file not working

2004-07-23 Thread Stas Bekman
Tom Schindl wrote: Stas Bekman wrote: Tom Schindl wrote: Stas Bekman wrote: Tom Schindl wrote: [...] That's not special to startup.pl, but to any files loaded via PerlModule and PerlRequire. And it's not true if PerlFreshRestart is used or mod_perl is built as DSO. This is documented here: http:/

Re: libapreq2 upload gotcha

2004-07-23 Thread Stas Bekman
John Williams wrote: On Thu, 22 Jul 2004, Stas Bekman wrote: John Williams wrote: Small files were working ok, but large files where being truncated at about 270k (which is suspiciously close to the 256k "zero copy limit" I saw mentioned on [EMAIL PROTECTED]). Interesting. What's the type of the bu

Re: Method Handler not working

2004-07-23 Thread Perrin Harkins
On Fri, 2004-07-23 at 00:35, Michael wrote: > > It is setup like this:- > > > > > > SetHandler perl-script > > PerlHandler My::Package > > > Shouldn't that be >PerlHandler My::Package->handler Technically that isn't necessary if your method is called handler() and you have prototyped it wi

Re: Persistent DB connection problem

2004-07-23 Thread Perrin Harkins
On Fri, 2004-07-23 at 05:27, Batara Kesuma wrote: > Can I use Apache::DBI to initiate persistent DB connection only for some > DB handler? Sure, just use the dbi_connect_method option on the ones you want to make non-persistent: my $dbh = DBI->connect('dbi:...',... ,{'dbi_connect_method' => 'conn

Re: libapreq2 upload gotcha

2004-07-23 Thread John Williams
On Thu, 22 Jul 2004, Stas Bekman wrote: > John Williams wrote: > > Small files were working ok, but large files where being truncated at about 270k > > (which is suspiciously close to the 256k "zero copy limit" I saw mentioned on > > [EMAIL PROTECTED]). > > Interesting. What's the type of the bucke

mod_perl2 1.99_14 and httpd 2.0.49 - gmake test fails (cannot start apache)

2004-07-23 Thread Alexey Bozrikov
Good day or whatever it is at your location, 1. Problem description couple of days ago I have compiled and (to the extent of my competency) tested Apache httpd 2.0.49 on powerpc-aix-5.1.0.0 platform (IBM RS6000 7009 C10 model). Now trying to compile mod_perl 1.99_14. Everything seems to

Persistent DB connection problem

2004-07-23 Thread Batara Kesuma
Hi, I do queries from several DB servers. I use Apache::DBI to initiate persistent connection: ## startup.pl use Apache::DBI (); use DBI (); The problem is, Apache::DBI will make persistent connection to all DB servers, but since some servers are not used so frequently as the others, I don't want

Re: startup.pl file not working

2004-07-23 Thread Tom Schindl
Stas Bekman wrote: Tom Schindl wrote: Stas Bekman wrote: Tom Schindl wrote: [...] That's not special to startup.pl, but to any files loaded via PerlModule and PerlRequire. And it's not true if PerlFreshRestart is used or mod_perl is built as DSO. This is documented here: http://perl.apache.org/do

Re: startup.pl file not working

2004-07-23 Thread Stas Bekman
Tom Schindl wrote: Stas Bekman wrote: Tom Schindl wrote: [...] That's not special to startup.pl, but to any files loaded via PerlModule and PerlRequire. And it's not true if PerlFreshRestart is used or mod_perl is built as DSO. This is documented here: http://perl.apache.org/docs/1.0/guide/config

Re: startup.pl file not working

2004-07-23 Thread Tom Schindl
Stas Bekman wrote: Tom Schindl wrote: [...] That's not special to startup.pl, but to any files loaded via PerlModule and PerlRequire. And it's not true if PerlFreshRestart is used or mod_perl is built as DSO. This is documented here: http://perl.apache.org/docs/1.0/guide/config.html#PerlFreshRest

Re: libapreq2 upload gotcha

2004-07-23 Thread Joe Schaefer
Stas Bekman <[EMAIL PROTECTED]> writes: [...] > Looks exactly the same internally as the perl for loop. The only > difference is that it calls apr_bucket_delete when it's done with > it. Which you can do with the for() loop just the same. But you didn't *write* that, so we must be talking past e

Re: startup.pl file not working

2004-07-23 Thread Tom Schindl
Hi, Is Apache allowed to change into this directory/read the file, try to move it to e.g. /tmp and see if it works. You could also insert a print-Statement and you should see the output on the console when apache is started (stop/start not restart). I'm not sure but I think a restart will not r

Re: startup.pl file not working

2004-07-23 Thread Stas Bekman
Tom Schindl wrote: Tom Schindl wrote: Hi, Is Apache allowed to change into this directory/read the file, try to move it to e.g. /tmp and see if it works. You could also insert a print-Statement and you should see the output on the console when apache is started (stop/start not restart). I'm not