I have some problem about file handle in mod_perlV2.02 +
apache v2.055.
I got some strange result today.And i check the program
find that i forgot to close(filehande).
But this case to bring about some guestion! Will
the code influence each other? When
muti-user visit the same recourse a
Heh, I've found problem, perl and libperl was compiled with different
flags. libperl was compiled without -DDEBUGGING.
On 1/17/06, Ruslan Zakirov <[EMAIL PROTECTED]> wrote:
> I've hacked List::Util a little, to see if it dies in loading .so and
> it does with error:
> [Tue Jan 17 00:45:13 2006] [
Thank you.
I really take care of the manal of Apache.
:)
Mike.G
Perrin Harkins <[EMAIL PROTECTED]> wrote:
> You keep the handle in a global and then clear it from a cleanup
> handler?
I actually keep it in an object instance, but same thing, since I'm
caching the object in a global that gets removed from a cleanup handler.
The object wraps all the functional
I've hacked List::Util a little, to see if it dies in loading .so and
it does with error:
[Tue Jan 17 00:45:13 2006] [error] Can't load
'/usr/lib/perl5/vendor_perl/5.8.7/x86_64-linux/auto/List/Util/Util.so'
for module List::Util:
/usr/lib/perl5/vendor_perl/5.8.7/x86_64-linux/auto/List/Util/Util.so:
Hello.
I get "Undefined subroutine &Scalar::Util::weaken called at
/opt/rt34/lib/RT/Action/Generic.pm line 108." which means that
Scalar::Util (really List::Util) couldn't load XS library, but this
happens only under mod_perl, for example this works from CLI and under
HTTP::Server::Simple. I've re
Hi folks, this is partly relevant to the recent DBI discussions but I'm
wondering about the best way to track and correctly destroy my references.
My mod_perl system involves 70+ modules and 20K lines of code (why God
why?!!), and I've ended up having to have called methods refer back to
the m
On Mon, 2006-01-16 at 12:39 -0800, Tyler MacDonald wrote:
> Thanks after looking over the messages in the (rather large)
> thread this has spawned over the weekend, I played around a little bit, and
> found I had a package that was cacheing it's database handle in a global. I
> ended up w
> On the other hand, I have some funky code going on after trying to deal
> with DBI's handling of transactions -- I don't want AutoCommit, but it
> seems to be impossible to do "set transaction isolation level serializable"
> without it, because DBI won't open a transaction if you send that comman
Jeremy Nixon <[EMAIL PROTECTED]> wrote:
> It looks like it would work perfectly with connect_cached, which I hadn't
> known about, but now that I do, I'm all excited to change my code to use
> it instead of Apache::DBI.
*instead*, eh... I'm using it as well... Could this be part of the
pro
Perrin Harkins <[EMAIL PROTECTED]> wrote:
> Tyler MacDonald wrote:
> >[Fri Jan 13 23:46:28 2006] [error] [client 192.168.99.112] DBD::Pg::db
> >prepare_cached failed
>
> Do you only have the problem with prepare_cached? Can you replicate it
> in a small script that just connects and does the pre
Tom Schindl wrote:
If you'd show us the error I'm sure we can help you ;-)
I think I've found a further error elsewhere. If I have any other
problems, I'm definitely coming back here! :)
I forgot that the Perl community is one of the friendliest and most
helpful around.
Paul
Tom
P
Hi Paul, welcome back to quality regex handling...
IMHO you've got 2 options - do it the restrictive way:
SetHandler perl-script
PerlHandler My::Module
Or do it the easy/flexible way - have your module(s) decline URIs which
they don't want to handle:
sub handler {
my
If you'd show us the error I'm sure we can help you ;-)
Tom
Paul Johnston wrote:
> Tom,
>
> Will have a play with that then. I did try something similar but for
> some reason it was erroring out.
>
> Thanks
>
> Paul
>
signature.asc
Description: OpenPGP digital signature
Tom,
Will have a play with that then. I did try something similar but for
some reason it was erroring out.
Thanks
Paul
Tom Schindl wrote:
PerlModule ModPerl::Registry
--8<--
# Handle all files ending in .pl with mp2
SetHandler perl-script
PerlResponseHandle
On Mon, 2006-01-16 at 10:37 +0800, 黄叶 wrote:
> Alias /perl/ /home/ghw/myperl/webproject/
> PerlSwitches -T
>
>AddHandler perl-script .pl
>SetHandler perl-script
>PerlResponseHandler ModPerl::Registry
>PerlOptions +ParseHeaders
>Options +ExecCGI
>Or
Paul Johnston wrote:
> Haven't done perl for 7 years (yes 7 years) and just coming back, so am
> a newbie with mod_perl really. Could do with a bit of setup help.
>
> I have an application that I'm been building in Perl and it works fine
> as a cgi and I want to convert it to using mod_perl. It'
On Mon, 2006-01-16 at 14:10 +, Paul Johnston wrote:
> It's currently on my server (which hosts other apps), and I want all
> (and only) files on the specific virtual host ending in ".app" (ie like
> everything ending in .pl) to be handled by mod_perl.
Use a FilesMatch directive in your httpd
On Mon, 2006-01-16 at 05:11 +, Jeremy Nixon wrote:
> I'm not caching across requests; I have a cleanup handler that
> calls rollback and disconnect, and then nukes my entire db wrapper from
> orbit.
You keep the handle in a global and then clear it from a cleanup
handler? That should work, bu
Haven't done perl for 7 years (yes 7 years) and just coming back, so am
a newbie with mod_perl really. Could do with a bit of setup help.
I have an application that I'm been building in Perl and it works fine
as a cgi and I want to convert it to using mod_perl. It's very
modularised so cachi
It fixed it. Thxs
Cure
-Original Message-
From: Paul Harrison [mailto:[EMAIL PROTECTED]
Sent: Monday, January 16, 2006 7:58 AM
To: 'Martin Moss'; 'modperl@perl.apache.org'
Subject: RE: Apache::DBI
It's a default clean install. I'll try $Apache::DBI::DEBUG=0 to see if that
works.
Th
It's a default clean install. I'll try $Apache::DBI::DEBUG=0 to see if that
works.
Thxs
Cure
-Original Message-
From: Martin Moss [mailto:[EMAIL PROTECTED]
Sent: Monday, January 16, 2006 5:00 AM
To: Paul Harrison; modperl@perl.apache.org
Subject: Re: Apache::DBI
Not sure why it's do
Not sure why it's doing it, if you've got a default
clean install,
But to control it's debug level you can put this in
your startup.pl
$Apache::DBI::DEBUG=0;
Regards
Marty
--- Paul Harrison <[EMAIL PROTECTED]> wrote:
>
>
> I installed Apache::DBI - 0.98 on FreeBSD 5.4 with
> mod_perl 1.
Hi, Fayland, but if you put a index.pl in your perl directory, when you access http://localhost/perl/
Can you get a response?
I Can't get a response from apache.
why?
Mike.G
Thanks Fayland.
I am ok too.
I only need put the behind
:)
Mike.G
黄叶 wrote:
but, if i had a project, i want put the all thing a directory. Can i do
like that? if I don't use the ModPerl::Registry or edit the
ModPerl::Registry, that is correct? or there are the other way? thanks.
it works on my side:
# for ModPerl::Registry scripts
Alias /perl/ "C:/Apache2/p
26 matches
Mail list logo