Apache::Session hangs script

1999-01-02 Thread tarkhil
"Kip" == Kip Cranford writes: Kip I'm using Apache/1.3.9 (Unix), mod_perl/1.21, Apache-Session-1.03, with Kip MySQL 3.22.25. I'm using the the Apache::Session::DBI module with MySQL Kip to provide some simple session management. I'm running the script as a Kip PerlHandler... Kip

Apache::Session Locking

1999-11-07 Thread tarkhil
"Kimbro" == Kimbro Staken writes: Kimbro I'm trying to setup Apache::Session under Embperl with a MySQL Kimbro datastore. I have multiple machines that will be serving the site thus Kimbro all machines will access the datastore. In the documentation it says to Kimbro use the DBIStore with a

Perl modules in apache configuration

2000-01-09 Thread tarkhil
Hello! I'm trying to configure httpd.conf using Perl sections (mod_macro is not enough for me), but the result is weird. The most weird thing is that Perl sections randomly doesn't execute! I have no experience (yet) with Perl configuration modules, so I don't understand where to start

Re: Perl modules in apache configuration

2000-01-09 Thread tarkhil
"Eric" == Eric writes: Eric On Sun, Jan 09, 2000 at 08:47:04PM +0300, [EMAIL PROTECTED] wrote: I'm trying to configure httpd.conf using Perl sections (mod_macro is not enough for me), but the result is weird. Eric Do you have a specific example of your config, and what doesn't work, Eric

Apache::Session, AGAIN

2000-01-13 Thread tarkhil
e_cached(q{ select id from sessions where id = ? }); $sth-execute($cookie); my $rses; $rses = $sth-fetchall_arrayref(); if (scalar @$rses == 0) { $cookie = undef; } tie %session, 'Apache::Session::DBI', $cookie, { DataSource = 'dbi:mysql:mail2pager', UserName = 'tarkh

Apache::Session: hanging until alarm?

2000-01-16 Thread tarkhil
Hello! I've tried to use Apache::Session (with DBI and SysVSemaphoreLocker), and it failed. Many people replied me here that "Apache::Session is OK". I've set locking to NullLocker, and experienced data corruption. Well, I've put an alarm inside my handler, and it bangs over and over on the

Well, I'm dumb...

2000-01-18 Thread tarkhil
! PLEASE NO clever ideas of reread of mail archive, for over an hour I'm trying to get my error. === cut handler.pl === #!/usr/bin/perl # $Id: handler.pl,v 1.3 2000/01/14 19:42:16 tarkhil Exp $ # $ENV{GATEWAY_INTERFACE} =~ /^CGI-Perl/ or die "GATEWAY_INTERFACE not Perl!"; use Apache::Reg

Feeling stupid

2002-01-04 Thread tarkhil
Hello! I'm trying to set up (again; I've done it a couple of times) mod_perl'ed Apache. With THAT simple addition to base config Location / SetHandler PerlScript PerlHandler Apache::PerlRun Options +ExecCGI /Location I'm getting script source instead of result. I've even attepmted to add

Re: Feeling stupid

2002-01-04 Thread tarkhil
On Fri, Jan 04, 2002 at 06:32:10PM -0300, Hans Poo wrote: SetHandler perl-script with a dash between perl an script. Oh yes. I'm a dashed... err... damned idiot... BTW, what is the best way to process lots of Include virtual in .shtmls? Alex.

Alarms?

2002-01-10 Thread tarkhil
Hello! I'm getting lots of errors in log: [Thu Jan 10 18:54:33 2002] [notice] child pid 8532 exit signal Alarm clock (14) [Thu Jan 10 18:54:37 2002] [notice] child pid 8542 exit signal Alarm clock (14) [Thu Jan 10 18:54:42 2002] [notice] child pid 8537 exit signal Alarm clock (14) What causes

Re: mod_bandwith like mechanism implemented in modperl?

2002-04-29 Thread tarkhil
On Mon, Apr 29, 2002 at 07:49:33AM -0500, Ade Olonoh wrote: Has anyone implemented a bandwidth limiting mechanism in mod_perl? Have you looked at mod_throttle? I have. It does not work under load. At least, three months ago it didn't at all. Alex.