Re: multiple rapid refreshes - how to handle them.

2001-10-17 Thread Perrin Harkins
Is there a standard way of dealing with users who are on high bandwidth connections who hit refresh (hold down F5 in IE for example) many times on a page that generates alot of database activity? Try this: http://www.stonehenge.com/merlyn/LinuxMag/col17.html - Perrin

Re: multiple rapid refreshes - how to handle them.

2001-10-17 Thread Les Mikesell
This doesn't solve the specific problem, but it is a good idea to tune 'MaxClients' down in httpd.conf to a number that your server can sustain. The browsers may see a few errors during the overload but the server will recover a lot faster when it stops. Les Mikesell [EMAIL PROTECTED]

ANNOUNCE: PerlKB 0.04

2001-10-17 Thread James G Smith
Well, after some more code slinging, here's another cut of the Perl Knowledge Base code. I've added support for loading modules from case-insensitive file systems with no prior knowledge of the module case (pod, Pod, or POD, for example and know which it probably was). PerlKB::Base is the

Re: search engine module?

2001-10-17 Thread Stas Bekman
Daniel Sully wrote: Is the engine used at the math forum publiclicly available? I don't know. Why don't you ask them :) Once upon a time Stas Bekman shaped the electrons to say... the engine at mathforum does a great job, it's the best mailing list archive search engine that I've ever

RE: Mod_perl component based architecture

2001-10-17 Thread Matt Sergeant
-Original Message- From: Bill Moseley [mailto:[EMAIL PROTECTED]] I'm just bored with html forms. Seems like I do this kind of project too often -- read a record, post, validate, update... Even with good templating and code reuse between projects I still feel like I spend a

RE: Mod_perl component based architecture

2001-10-17 Thread Matt Sergeant
-Original Message- From: Chris Winters [mailto:[EMAIL PROTECTED]] But if you've been working on and building up a platform for 4+ years that already does this, then there's very little to be gained and lots to be lost by moving to an application server. :-) I'd put it slightly

RE: Mod_perl component based architecture

2001-10-17 Thread Matt Sergeant
-Original Message- From: Gunther Birznieks [mailto:[EMAIL PROTECTED]] Of course, I am not saying that the line isn't fuzzy especially if the template engine is quite powerful (as is the case with Mason or AxKit). But there is a line nonetheless, no?? /me removes head from

Re: mod_perl-1.2.6 for Cygwin 1.x (using apache_1.3.22, perl-5.6.1)

2001-10-17 Thread Stipe Tolj
Hi Gerrit, Gerrit P. Haase schrieb: Stipe Tolj schrieb am 2001-10-16 13:19: --- src/modules/perl/Makefile Tue Oct 16 10:57:46 2001 +++ src/modules/perl/Makefile.cygwin Tue Oct 16 10:56:40 2001 @@ -13,7 +13,7 @@ EXTRA_CFLAGS=-DUSEIMPORTLIB -DPERL_USE_SAFE_PUTENV -DHAS_SBRK_PROTO

Re: cgi to mod_perl question

2001-10-17 Thread Brice D Ruth
Perrin Harkins wrote: 001c01c156c1$d5d0eac0$553dfea9@charlotte"> Unfortunately, I've now noticed that my server is unbearably slow -setting 'ThreadsPerChild 1' in my httpd.conf made my server slow to asnails pace (and it really is a pretty quick server on a T1 linededicated to it,

Re: cgi to mod_perl question

2001-10-17 Thread Perrin Harkins
By making 'ThreadsPerChild 1' - the entire server runs as a single thread, mod_perl and any other requests (e.g. images) that come in - this is why the server slows to a snails pace. I've set up two instances now, one to handle all incoming requests, the other to serve as a backend proxy

Re: cgi to mod_perl question

2001-10-17 Thread Brice D Ruth
Perrin Harkins wrote: 006101c1571b$7930a850$18020c0a@PerriHar"> By making 'ThreadsPerChild 1' - the entire server runs as a singlethread, mod_perl and any other requests (e.g. images) that come in -this is why the server slows to a snails pace. I've set up twoinstances now, one to

Re: apache::dbi vs mysql relay

2001-10-17 Thread Stas Bekman
Perrin Harkins wrote: Are there any benchmark comparisons between apache::dbi and mysql relay? I've never heard of this mysql relay before. A Google search found this: http://www.firstworks.com/sqlrelay.html Is that it? Looks interesting! On

Re: Module does not change

2001-10-17 Thread Stas Bekman
Christoph Lange wrote: The frist time I ran diplmod everything was ok. Unfortunately changes to the test_check-subroutine-output in the code have (most of the time) no impact on what the browser shows when I reload diplmod. Sometimes changes appear after several reloads despite the

Re: Catching user-presses-stop early

2001-10-17 Thread Stas Bekman
Gunther Birznieks wrote: Would sending a null byte work with a reverse proxy method of mod_perl if the reverse proxy caches and doesn't deliver the data right away? I don't know if there is a way to control this or what the behavior is. The technique in the guide doesn't work with apache

Re: Apache::Reload

2001-10-17 Thread Stas Bekman
James wrote: Thus spake Christoph Lange ([EMAIL PROTECTED]): I am using use Apache::Reload; in a module but it does not work. I tell my main-script where to find this module via use lib '/home/path/for/modules'. Might this be the (or one) reason why Apache::Reload does not work? Do I have

Re: Module does not change

2001-10-17 Thread Christoph Lange
Hi, the problem was solved. The directory for my modules was added to @INC in http.conf. This didn't solve the problem completely since the person in charge had forgotten to activate Apache::Reload for the Regestry Mode. Fortunately he noticed his mistake yesterday. Since then everything

Re: apache::dbi vs mysql relay

2001-10-17 Thread Perrin Harkins
On http://www.firstworks.com/sqlrelay/programming/perldbd.html it says: For the duration of the session, the client stays connected to a database connection daemon. While one client is connected, no other client can connect. Care should be taken to minimize the length of a session.

Re: Apache output in the forked process

2001-10-17 Thread Stas Bekman
Mike P. Mikhailov wrote: Hello modperl, HELO Mike I'm run into weird problem: apache output (HTTP headers and entity) appears in the my own separate log file. Here is scenario: I'm fork a new process, cleanup for exec, redirect STD(IN|ERR|OUT) in the

Re: mod_perl-1.2.6 for Cygwin 1.x (using apache_1.3.22, perl-5.6.1)

2001-10-17 Thread Stas Bekman
Stipe Tolj wrote: Hi, I'm the maintainer of the Apache for Cygwin port, various apache modules and the CAMP binary distribution. After releasing the latest CAMP package which contains many popular modules (mod_php, mod_ssl, mod_dav, etc) there have been requests from Apache for Cygwin

Re: New Installation...

2001-10-17 Thread Stas Bekman
El Capitan wrote: I'm trying to install apache 1.3.22 and modperl 1.26 and am running into some issues. I tried running: perl Makefile.PL DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 APACHE_PREFIX=/mydir/apache and everything looked ok. Then I ran make test and got this: ... ... cp

Re: apache::dbi vs mysql relay

2001-10-17 Thread Rob Nagler
What I don't understand is why they separate the listener and database connection daemons if you always need one of each to do anything. Probably for scalability. The database engines are doing the work and the sooner they can free themselves up (due to a slow client, for example), the

IBM patents Template Systems?

2001-10-17 Thread Joe Schaefer
Has anyone else noticed this? http://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO2Sect2=HITOFFp=1u=/netahtml/search-bool.htmlr=10f=Gl=50co1=ANDd=ft00s1=HTMLOS=HTMLRS=HTML A causal reading seems to suggest that most mod_perl-based templating systems do exactly what this patent will cover: i.e.

Re: IBM patents Template Systems?

2001-10-17 Thread Nathan Torkington
Joe Schaefer writes: A causal reading seems to suggest that most mod_perl-based templating systems do exactly what this patent will cover: i.e. set up a non-HTML based website where templates dynamically convert non-HTML files into HTML. IANAL (and IVAGINAL too, but that's for a different

Re: Mod_perl component based architecture

2001-10-17 Thread Claudio Garcia
Michael wrote: Are any of the packages mentioned particularly suited to client content management packages where the client can manage some limeted page content text/graphics but not really mess with the overall page layout and site content. I'm about to start researching this but would

Re: IBM patents Template Systems?

2001-10-17 Thread John Armstrong
Is this applying to an application based tool only or does it also apply to web based tools? We have a product that we have licensed out for 4 years or so that does exactly this via the web( approx 5000 sites are using it now ). I am sure others do as well. Just not sure what the scope of

Re: search engine module?

2001-10-17 Thread Oleg Bartunov
We use OpenFTS (http://openfts.sourceforge.net) at postgresql mailing list archive ( http://fts.postgresql.org). Regards, Oleg On Wed, 17 Oct 2001, Stas Bekman wrote: Ged Haywood wrote: Hi all, On Mon, 15 Oct 2001, Ask Bjoern Hansen wrote: On Fri, 12 Oct

Re: IBM patents Template Systems?

2001-10-17 Thread Ged Haywood
Hi all, On Wed, 17 Oct 2001, Nathan Torkington wrote: Joe Schaefer writes: A causal reading seems to suggest that most mod_perl-based templating systems do exactly what this patent will cover: the tool generates the customized Web site without the web site creator writing any HTML or

Re: search engine module?

2001-10-17 Thread Daniel Sully
Is the engine used at the math forum publiclicly available? Once upon a time Stas Bekman shaped the electrons to say... the engine at mathforum does a great job, it's the best mailing list archive search engine that I've ever seen, in regards to searching Perl strings and code in general.

Re: IBM patents Template Systems?

2001-10-17 Thread Joshua Chamas
Joe Schaefer wrote: Has anyone else noticed this? http://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO2Sect2=HITOFFp=1u=/netahtml/search-bool.htmlr=10f=Gl=50co1=ANDd=ft00s1=HTMLOS=HTMLRS=HTML A causal reading seems to suggest that most mod_perl-based templating systems do exactly what

RE: IBM patents Template Systems?

2001-10-17 Thread Adam Prime
huh? doesn't that mean that the person who is running the tool doesn't use HTML or other code, not the person that wrote the tool? I'd have to agree that it's not really applicable though since it talks about it running offline, and about selecting widgets for the site and stuff along those

Re: IBM patents Template Systems?

2001-10-17 Thread Brett W. McCoy
On Wed, 17 Oct 2001, Ged Haywood wrote: An only slightly less casual reading indicates that anyone who writes use strict; or html isn't at risk of violating this patent. It looks to me that products like Zope or Midgard are more going to be in violation, but since they are Python and

Help with converting from plain CGI to mod_perl

2001-10-17 Thread Walt Knowles
All, I'm sure that this is covered somewhere in the documentation or on this list, if I could just find the right way to ask the question. So please feel free to send me off to read something. I currently have a web system with an architecture like this: ++ | UI CGI scripts

Re: IBM patents Template Systems?

2001-10-17 Thread Joe Schaefer
Ged Haywood [EMAIL PROTECTED] writes: On Wed, 17 Oct 2001, Nathan Torkington wrote: Joe Schaefer writes: A causal reading seems to suggest that most mod_perl-based templating systems do exactly what this patent will cover: the tool generates the customized Web site without the

Re: Help with converting from plain CGI to mod_perl

2001-10-17 Thread Robert Landrum
At 1:49 PM -0700 10/17/01, Walt Knowles wrote: Converting all the globals to Module variables has been a piece of cake, but I've run into one big issue. Depending on how you log into the system, the user will connect to different databases. When they do this, I store the Database Handle from

Re: Help with converting from plain CGI to mod_perl

2001-10-17 Thread Perrin Harkins
Converting all the globals to Module variables has been a piece of cake, but I've run into one big issue. Depending on how you log into the system, the user will connect to different databases. When they do this, I store the Database Handle from DBI/DBD as $main::dbh. This variable has the

multiple rapid refreshes - how to handle them.

2001-10-17 Thread Mark Maunder
Is there a standard way of dealing with users who are on high bandwidth connections who hit refresh (hold down F5 in IE for example) many times on a page that generates alot of database activity? On a 10 meg connection, holding down F5 in IE for a few seconds generates around 300 requests and

Re: Catching user-presses-stop early

2001-10-17 Thread Jeremy Howard
Stas Bekman wrote: Gunther Birznieks wrote: Would sending a null byte work with a reverse proxy method of mod_perl if the reverse proxy caches and doesn't deliver the data right away? I don't know if there is a way to control this or what the behavior is. The technique in the guide

RE: Help with converting from plain CGI to mod_perl

2001-10-17 Thread Walt Knowles
Thanks, Perrin. Exactly what I was looking for but couldn't find. And Rob Landrum, thanks as well. I'm actually planning to store the database connections persistently as a (global)module hash--after I finish the conversion to mod_perl. Walt -Original Message- From: Perrin Harkins

Re: Help with converting from plain CGI to mod_perl

2001-10-17 Thread hans
Walt Knowles wrote: All, I'm sure that this is covered somewhere in the documentation or on this list, if I could just find the right way to ask the question. So please feel free to send me off to read something. I currently have a web system with an architecture like this:

Re: multiple rapid refreshes - how to handle them.

2001-10-17 Thread Wim Kerkhoff
Mark Maunder wrote: Is there a standard way of dealing with users who are on high bandwidth connections who hit refresh (hold down F5 in IE for example) many times on a page that generates alot of database activity? On a 10 meg connection, holding down F5 in IE for a few seconds

Re: Help with converting from plain CGI to mod_perl

2001-10-17 Thread Tim Gardner
Depending on how you log into the system, the user will connect to different databases. When they do this, I store the Database Handle from DBI/DBD as $main::dbh. This variable has the scope of the length of processing the request and then should become undef. Easy under normal CGI, because you

cvs commit: modperl-2.0/ModPerl-Registry/t .cvsignore

2001-10-17 Thread stas
stas01/10/17 21:25:12 Modified:ModPerl-Registry/t .cvsignore Added: ModPerl-Registry .cvsignore Log: - cvsignore files Revision ChangesPath 1.1 modperl-2.0/ModPerl-Registry/.cvsignore Index: .cvsignore

Re: cvs commit: modperl-2.0/ModPerl-Registry/t .cvsignore

2001-10-17 Thread Stas Bekman
[EMAIL PROTECTED] wrote: stas01/10/17 21:25:12 Modified:ModPerl-Registry/t .cvsignore Added: ModPerl-Registry .cvsignore Log: - cvsignore files Any idea why I don't get the Submitted by: and other commit headers while doing cvs commit under this dir?

Re: cvs commit: modperl-2.0/ModPerl-Registry/t .cvsignore

2001-10-17 Thread Philippe M. Chiasson
On Thu, Oct 18, 2001 at 12:35:06PM +0800, Stas Bekman wrote: [EMAIL PROTECTED] wrote: stas01/10/17 21:25:12 Modified:ModPerl-Registry/t .cvsignore Added: ModPerl-Registry .cvsignore Log: - cvsignore files Any idea why I don't get the Submitted

Re: cvs commit: modperl-2.0/ModPerl-Registry/t .cvsignore

2001-10-17 Thread Stas Bekman
Philippe M. Chiasson wrote: On Thu, Oct 18, 2001 at 12:35:06PM +0800, Stas Bekman wrote: [EMAIL PROTECTED] wrote: stas01/10/17 21:25:12 Modified:ModPerl-Registry/t .cvsignore Added: ModPerl-Registry .cvsignore Log: - cvsignore files Any idea why I don't get the

cvs commit: modperl-2.0/xs .cvsignore

2001-10-17 Thread stas
stas01/10/17 00:25:13 Modified:xs .cvsignore Log: - ignore *.def Revision ChangesPath 1.3 +1 -0 modperl-2.0/xs/.cvsignore Index: .cvsignore === RCS file:

cvs commit: modperl-2.0 Makefile.PL

2001-10-17 Thread dougm
dougm 01/10/17 10:38:07 Modified:.Makefile.PL Log: undo undo of explicit DIR in WriteMakefile; problem seems to have gone away Revision ChangesPath 1.45 +1 -1 modperl-2.0/Makefile.PL Index: Makefile.PL