Someone asked about Loadsharing

2001-12-17 Thread anandr
May be this can help the ring,. http://www.stanford.edu/~schemers/docs/lbnamed/lbnamed.h tml With Regards, Anand Ratnasabapathy, DSM Soft(P)Ltd, No:25,Nungambakkam High Road, Chennai - 600 034.

Fwd: Someone asked about Loadbalancing

2001-12-17 Thread anandr
- Forwarded message from anandr [EMAIL PROTECTED] - Date: Mon, 17 Dec 2001 03:06:05 -0800 (PST) From: anandr [EMAIL PROTECTED] Reply-To: anandr [EMAIL PROTECTED] Subject: Someone asked about Loadsharing To: [EMAIL PROTECTED] May be this can help the ring,.

OT RE: load balancing on apache by IP CHAINING

2001-12-17 Thread Joe Breeden
I don't know how many of you read SysAdmin (http://www.samag.com), but there is an interesting article on running IPChains at runlevel 0. --Joe Breeden What to do... if you get a phone call from Mars: Speak slowly and be sure to enunciate your words properly. Limit your

How to check the return status?

2001-12-17 Thread Alexei V. Alexandrov
Hello everyone, I have a question that i can not resolve. The module dynamicaly loads other modules to handle specific urls like this: [snip] my $handle = 'My::Module'; eval { (my $h = $handle) =~ s!::!/!ig; require $h . .pm;

Re: submit-data and chained handlers

2001-12-17 Thread Geoffrey Young
Perrin Harkins wrote: Apache::RequestNotes don't work because Apache::Registry expect to read the POST/PUT-data from STDIN. It's important that the cgi-scripts run unmodified and without any notice of their unnaturally environment. I don't think there's any way around the fact

RE: How to check the return status?

2001-12-17 Thread Stathy Touloumis
Perhaps something along the lines of : $r-push_handlers( PerlHandler = sub { my $r = shift; my $return = $handle-handler( $r ); if ( $return == Apache::Constants::OK ) { ?? } } ); -Original Message- From: Alexei V. Alexandrov

RE: mod_perl vs. C for high performance Apache modules

2001-12-17 Thread Matthew Kennedy
On Fri, 2001-12-14 at 14:27, Thomas Moore wrote: I spoke to the technical lead at Yahoo who said mod_perl will not scale as well as c++ when you get to their level of traffic, but for a large Isn't that coming from a company using Python? I see that most of their URLs include a tell-tale .py.

Re: mod_perl vs. C for high performance Apache modules

2001-12-17 Thread Paul Lindner
On Mon, Dec 17, 2001 at 10:32:58AM -0600, Matthew Kennedy wrote: On Fri, 2001-12-14 at 14:27, Thomas Moore wrote: I spoke to the technical lead at Yahoo who said mod_perl will not scale as well as c++ when you get to their level of traffic, but for a large Isn't that coming from a company

OT: Perl of Wisdom

2001-12-17 Thread Grant Babb
On another Perl list someone offered some advice on ruining the perl from the command line. To be fair, the entire quote was The most problem is, that if you are ruinning the perl from the command line, you are definitly in the direaction you want. I think I have my mantra for the New Year.

mod_perl site challenge: proposal to use ASF site design

2001-12-17 Thread David Harris
Hi, I've been watching the mod_perl site issue as it has progressed. Just last week Stas mentioned that voting at the online booth has been poor. (Low turnout.) I think I know why voting has been poor. And in my off-list conversation with Stas he's mentioned that other people have had the same

Re: mod_perl site challenge: proposal to use ASF site design

2001-12-17 Thread Robert Landrum
At 4:17 PM -0500 12/17/01, David Harris wrote: The purpose of this e-mail is as follows: (a) See if others also think that the three alternatives for a mod_perl site are not very desirable. If you agree, please speak up and say that you agree. I agree. (b) See if others also think that using

Re: mod_perl site challenge: proposal to use ASF site design

2001-12-17 Thread Dave Rolsky
On Mon, 17 Dec 2001, David Harris wrote: (a) See if others also think that the three alternatives for a mod_perl site are not very desirable. If you agree, please speak up and say that you agree. I thought Thomas' was fine but I think I actually prefer the ASF one. (b) See if others also

[ANNOUNCE] Module::Require

2001-12-17 Thread James G Smith
Module::Require allows regular expressions or globs to be used for loading modules. For example: require_regex qw[ DBD::.* ]; OR require_glob qw[ DBD::* ]; will both load all of the available DBD:: modules, returning a list of existing files that could not be loaded. Both functions take

Re: mod_perl site challenge: proposal to use ASF site design

2001-12-17 Thread Thomas Klausner
Hi! On Mon, Dec 17, 2001 at 04:17:02PM -0500, David Harris wrote: As one of the three contributers I'd like to reply to some points you made: Thomas Klausner's isn't broken in anyway and acceptable, but I don't really *like* the page look very much. The main goal of my proposial wasn't really

Re: mod_perl site challenge: proposal to use ASF site design

2001-12-17 Thread Matt Sergeant
On Mon, 17 Dec 2001, Thomas Klausner wrote: I propose that we simply use a site design that is the uniform psudo-standard for the Apache Software Foundation. A number of ASF projects are using this site design: http://www.apache.org/ http://httpd.apache.org/

Apache::Cooke reserved chars

2001-12-17 Thread dbohling
Hi all, I'm recording a url at the beginning of an app to restore the entrance url: sub set_referer { my $self = shift; if ($self-{R}) { require Apache::Cookie; my $cookie = Apache::Cookie-new($self-{R}, -name=

cvs commit: modperl-2.0/xs/APR/PerlIO - New directory

2001-12-17 Thread stas
stas01/12/17 08:18:17 modperl-2.0/xs/APR/PerlIO - New directory

cvs commit: modperl-2.0/xs/APR/PerlIO apr_perlio.c apr_perlio.h Makefile.PL PerlIO.xs PerlIO.pm

2001-12-17 Thread stas
stas01/12/17 08:20:27 Added: t/response/TestAPR perlio.pm xs/APR/PerlIO apr_perlio.c apr_perlio.h Makefile.PL PerlIO.xs PerlIO.pm Log: - implements APR::PerlIO layer - implements apr_file_t to APR::PerlIO conversion hooks (one way)

cvs commit: modperl-2.0/xs/Apache/SubProcess - New directory

2001-12-17 Thread stas
stas01/12/17 08:20:51 modperl-2.0/xs/Apache/SubProcess - New directory

cvs commit: modperl-2.0/xs/maps modperl_functions.map

2001-12-17 Thread stas
stas01/12/17 08:22:07 Modified:xs/maps modperl_functions.map Added: t/response/TestApache subprocess.pm xs/Apache/SubProcess Apache__SubProcess.h SubProcess_pm Log: - implement Apache::SubProcess::spawn_proc_prog (which allows to run a program in a

cvs commit: modperl-2.0/xs/APR/PerlIO apr_perlio.c

2001-12-17 Thread stas
stas01/12/17 08:55:46 Modified:xs/APR/PerlIO apr_perlio.c Log: - maintainer mode cleanups Revision ChangesPath 1.2 +3 -4 modperl-2.0/xs/APR/PerlIO/apr_perlio.c Index: apr_perlio.c ===

cvs commit: modperl-2.0/t/response/TestApache subprocess.pm

2001-12-17 Thread dougm
dougm 01/12/17 16:21:02 Modified:t/response/TestApache subprocess.pm Log: do not attempt to preload Apache::SubProcess Revision ChangesPath 1.2 +2 -2 modperl-2.0/t/response/TestApache/subprocess.pm Index: subprocess.pm

cvs commit: modperl-2.0/t/response/TestApache subprocess.pm

2001-12-17 Thread dougm
dougm 01/12/17 16:23:03 Modified:t/response/TestApache subprocess.pm Log: skip subprocess test unless Apache::SubProcess is available Revision ChangesPath 1.3 +2 -2 modperl-2.0/t/response/TestApache/subprocess.pm Index: subprocess.pm

cvs commit: modperl-2.0/xs/APR/PerlIO apr_perlio.c

2001-12-17 Thread dougm
dougm 01/12/17 16:37:01 Modified:xs/APR/PerlIO apr_perlio.c Log: allow to compile with older bleedperls Revision ChangesPath 1.3 +9 -2 modperl-2.0/xs/APR/PerlIO/apr_perlio.c Index: apr_perlio.c

cvs commit: modperl-2.0/t/response/TestAPR perlio.pm

2001-12-17 Thread dougm
dougm 01/12/17 16:43:37 Modified:t/response/TestAPR perlio.pm Log: we do want have_perl iolayers in the plan for 5.6.1 Revision ChangesPath 1.3 +1 -1 modperl-2.0/t/response/TestAPR/perlio.pm Index: perlio.pm

cvs commit: modperl-2.0/xs/APR/PerlIO apr_perlio.c

2001-12-17 Thread dougm
dougm 01/12/17 17:13:15 Modified:xs/APR/PerlIO apr_perlio.c Log: style nits: - no //comments - no else branch where if returns a value - whitespace-- make note that modperl_* functions cannot be used outside of httpd Revision ChangesPath 1.4 +33 -36

cvs commit: modperl-2.0/xs/tables/current/ModPerl FunctionTable.pm

2001-12-17 Thread dougm
dougm 01/12/17 17:55:52 Modified:xs/tables/current/ModPerl FunctionTable.pm Log: sync Revision ChangesPath 1.54 +34 -1 modperl-2.0/xs/tables/current/ModPerl/FunctionTable.pm Index: FunctionTable.pm

cvs commit: modperl-2.0/t/apr .cvsignore

2001-12-17 Thread dougm
dougm 01/12/17 17:56:47 Modified:t/apache .cvsignore t/apr.cvsignore Log: ignores Revision ChangesPath 1.3 +1 -0 modperl-2.0/t/apache/.cvsignore Index: .cvsignore ===

cvs commit: modperl-2.0/xs/APR/PerlIO .cvsignore

2001-12-17 Thread dougm
dougm 01/12/17 17:57:55 Added: xs/APR/PerlIO .cvsignore Log: ignore Revision ChangesPath 1.1 modperl-2.0/xs/APR/PerlIO/.cvsignore Index: .cvsignore === PerlIO.bs PerlIO.c

cvs commit: modperl-2.0/xs/Apache/SubProcess Apache__SubProcess.h

2001-12-17 Thread dougm
dougm 01/12/17 19:21:22 Modified:xs/Apache/SubProcess Apache__SubProcess.h Log: a few style fixups and comments Revision ChangesPath 1.2 +46 -45modperl-2.0/xs/Apache/SubProcess/Apache__SubProcess.h Index: Apache__SubProcess.h

cvs commit: modperl-2.0/xs/Apache/SubProcess Apache__SubProcess.h

2001-12-17 Thread dougm
dougm 01/12/17 19:24:49 Modified:xs/Apache/SubProcess Apache__SubProcess.h Log: plug av_argv memory leak Revision ChangesPath 1.3 +3 -1 modperl-2.0/xs/Apache/SubProcess/Apache__SubProcess.h Index: Apache__SubProcess.h

cvs commit: modperl-2.0/xs/Apache/SubProcess Apache__SubProcess.h

2001-12-17 Thread dougm
dougm 01/12/17 19:40:02 Modified:xs/Apache/SubProcess Apache__SubProcess.h Log: avoid calling av_len() more than once. switch from using av_len() to AvFILLp add av_items variable to avoid (-1 + 2) when there is no av_argv Revision ChangesPath 1.4 +9 -6

cvs commit: modperl-2.0/xs/Apache/SubProcess Apache__SubProcess.h

2001-12-17 Thread dougm
dougm 01/12/17 19:44:33 Modified:xs/Apache/SubProcess Apache__SubProcess.h Log: dont bother creating an empty av_argv if no args are passed into spawn_proc_prog Revision ChangesPath 1.5 +7 -10 modperl-2.0/xs/Apache/SubProcess/Apache__SubProcess.h Index:

cvs commit: modperl-2.0/xs/Apache/SubProcess Apache__SubProcess.h

2001-12-17 Thread dougm
dougm 01/12/17 19:54:49 Modified:xs/Apache/SubProcess Apache__SubProcess.h Log: cut down some duplication with PUSH_FILE_GLOB_* macros Revision ChangesPath 1.6 +15 -9 modperl-2.0/xs/Apache/SubProcess/Apache__SubProcess.h Index: Apache__SubProcess.h

cvs commit: modperl-2.0/xs/Apache/Filter Apache__Filter.h

2001-12-17 Thread dougm
dougm 01/12/17 19:56:44 Modified:xs/Apache/Filter Apache__Filter.h Log: s/croak/Perl_croak/ so we compile with -DPERL_CORE Submitted by: stas Reviewed by: dougm Revision ChangesPath 1.16 +2 -2 modperl-2.0/xs/Apache/Filter/Apache__Filter.h Index:

cvs commit: modperl-2.0/xs/Apache/SubProcess Apache__SubProcess.h

2001-12-17 Thread stas
stas01/12/17 21:44:16 Modified:xs/Apache/SubProcess Apache__SubProcess.h Log: - fix copy-n-paste error, which broke a few sub-tests Revision ChangesPath 1.8 +1 -1 modperl-2.0/xs/Apache/SubProcess/Apache__SubProcess.h Index: Apache__SubProcess.h

cvs commit: modperl-2.0/lib/ModPerl Code.pm

2001-12-17 Thread dougm
dougm 01/12/17 21:58:54 Modified:lib/ModPerl Code.pm Log: generate a modperl_largefiles.h include file with the $Config{ccflags_uselargefiles} we have ripped out when compiling modperl. Revision ChangesPath 1.74 +16 -0 modperl-2.0/lib/ModPerl/Code.pm

cvs commit: modperl-2.0/t/response/TestAPR perlio.pm

2001-12-17 Thread dougm
dougm 01/12/17 22:01:43 Modified:t/response/TestAPR perlio.pm Log: tell works now; remove todo Revision ChangesPath 1.4 +1 -1 modperl-2.0/t/response/TestAPR/perlio.pm Index: perlio.pm

cvs commit: modperl-2.0/t/response/TestAPR perlio.pm

2001-12-17 Thread dougm
dougm 01/12/17 22:02:29 Modified:t/response/TestAPR perlio.pm Log: tell works now; XXX broken comment Revision ChangesPath 1.5 +1 -1 modperl-2.0/t/response/TestAPR/perlio.pm Index: perlio.pm