Re: OT: Re: Most nonesense I've ever read about mod_perl

2000-05-07 Thread Frank Mayhar
Michael hall wrote: > You make me sound ancient :-) When I started at the UofM (1971) it was > Fortran 77 [...] ^^ Eh? :-) Fortran IV, maybe. > theory, algorithms, style, etc., just dry examples out of text books. > Lot of good any of that

OT: Re: Most nonesense I've ever read about mod_perl

2000-05-07 Thread Michael hall
On Sun, May 07, 2000 at 08:20:34PM -0400, Jeff Stuart wrote: > [...rest of message deleted...] > > Every language has it use, the truly knowledgeable understand when to > > use each language:) > > > Sam > Amen to that!!! I think that this point and the point about writing GOOD > algorithms are

Re: Global Variable Question

2000-05-07 Thread Gunther Birznieks
The current request will have exclusive rights to it since each apache engine has it's own perl engine. For your intents and purposes, a single perl engine is never servicing more than one request to completion at any given time. Whether that environment variable survives untouched to the next

Re: speed up/load balancing of session-based sites

2000-05-07 Thread Jeffrey W. Baker
On 7 May 2000, Greg Stark wrote: > > > > > Further, what are the standard ways to load balance a session-tracking > > > > app across multiple servers when the sessions are stored in memory and a > > > > given user has to be consistently sent back to the same machine? Can > > > > round-robin DNS

Global Variable Question

2000-05-07 Thread Pierre J. Nicolas
What would happen if I'm using the "CGI.pm" while running the modperl module and I set an environment variable in a cgi-based script with "$ENV{'var'} = $value. I only care that this variable doesn't get overwritten during this request. Could another execution of the same script cause this env.

RE: Most nonesense I've ever read about mod_perl

2000-05-07 Thread Jeff Stuart
[...rest of message deleted...] > Every language has it use, the truly knowledgeable understand when to > use each language:) > Sam Amen to that!!! I think that this point and the point about writing GOOD algorithms are VERY important ones and I think that it's important that this be taught! I'

Re: speed up/load balancing of session-based sites

2000-05-07 Thread Tobias Hoellrich
At 05:43 PM 5/7/00 -0400, Greg Stark wrote: >I've written some pretty heavy database driven sites that do some pretty >complicated things and I've *never* found it really necessary to have a server >side session database. In theory you might find it convenient to cache big >complex data structures

Re: speed up/load balancing of session-based sites

2000-05-07 Thread Greg Stark
> > > Further, what are the standard ways to load balance a session-tracking > > > app across multiple servers when the sessions are stored in memory and a > > > given user has to be consistently sent back to the same machine? Can > > > round-robin DNS be counted on to send people back to the sa

Re: Content negotiation headers

2000-05-07 Thread Matt Sergeant
On Sun, 7 May 2000, Eric Jain wrote: > How do I suppress content negotiation headers? Don't use mod_negotiation! > I am using my own handler to convert XML to HTML on the fly: > > http://biodoc.ch/de/forum/2000/1/01.xml -> > > HTTP/1.1 200 OK > Date: Sun, 07 May 2000 20:40:52 GMT > Server: Ap

Content negotiation headers

2000-05-07 Thread Eric Jain
How do I suppress content negotiation headers? I am using my own handler to convert XML to HTML on the fly: http://biodoc.ch/de/forum/2000/1/01.xml -> HTTP/1.1 200 OK Date: Sun, 07 May 2000 20:40:52 GMT Server: Apache/1.3.9 (Unix) (SuSE/Linux) mod_perl/1.21 mod_ssl/2.4.7 OpenSSL/0.9.4 Connecti

Re: CGI to mod_perl

2000-05-07 Thread Stas Bekman
On Sun, 7 May 2000, Pierre J. Nicolas wrote: > I have: > > PerlHandler Apache::Registry > PerlRequire /path/to/perl/startup.pl > where in the startup.pl file I have: > > use lib qw(/path/to/perl/perl-lib); > > and I'm still experiencing those: > "Undefinde subroutine &Apache::Root:perl::script

Re: CGI to mod_perl

2000-05-07 Thread Pierre J. Nicolas
I have: PerlHandler Apache::Registry PerlRequire /path/to/perl/startup.pl where in the startup.pl file I have: use lib qw(/path/to/perl/perl-lib); and I'm still experiencing those: "Undefinde subroutine &Apache::Root:perl::script_name::function_name called at /path/to/perl/scriptname line numbe

Re: Apache::Registry and clearing package name space

2000-05-07 Thread Richard Chen
I found that a modified version of scrub_package (written by Mark-Jason Dominus and described in perlfaq7) works correctly and more efficiently than Apache::PerlRun->flush_namespace Here is the original scrub_package subroutine: sub scrub_package { no strict 'refs';