Re: comparison of templating methods?

2001-06-08 Thread Gunther Birznieks
At 02:26 PM 6/7/2001 +1000, Steve Smith wrote: HTML::Embperl For me, this has one major win over the other toolkits: auto form population from a hash. The online mortgage application system I wrote has about 1,800 form fields, which have to be populated with data from a database. By making

RE: Running Mod_Perl on Windows

2001-06-08 Thread Geoffrey Young
In general, questions on installation, etc are best directed to the mod_perl list ([EMAIL PROTECTED]) after searching through the other resources available to you from http://perl.apache.org especially http://perl.apache.org/guide and http://perl.apache.org/#maillists using a binary

Re: IP based instant throttle?

2001-06-08 Thread Randal L. Schwartz
Ken == Ken Williams [EMAIL PROTECTED] writes: Ken [EMAIL PROTECTED] (Randal L. Schwartz) wrote: It would be pretty simple, basing it on my CPU-limiting throttle that I've published in Linux Magazine http://www.stonehenge.com/merlyn/LinuxMag/col17.html. Just grab a flock on the CPU-logging

Re: comparison of templating methods?

2001-06-08 Thread will trillich
On Fri, Jun 08, 2001 at 10:49:39AM +0800, Stas Bekman wrote: This is your ultimate answer :) : Choosing a Templating System. http://conferences.oreillynet.com/cs/os2001/view/e_sess/1263 Hopefully Perrin will release his paper close to the conference. looking forward to that! thanks. --

Re: IP based instant throttle?

2001-06-08 Thread Roman Maeder
[EMAIL PROTECTED] said: Well, if the reason you're throttling is to block excessive usage of the machine, the full monty of CPU limiting will do that just fine, one kind of DOS would not be caught by looking at CPU usage, it is one that I have experienced a number of times, namely the use of

templating benchmarks...

2001-06-08 Thread will trillich
On Thu, Jun 07, 2001 at 06:48:38AM +0200, Gerald Richter wrote: regarding the tools that dovetail into the mod_perl paradigm, who's got a comparison over relative performance (and other strengths/weaknesses) of various templating methods? There are various discussions on the mod_perl

Re: Help with parameters.]

2001-06-08 Thread Issac Goldstand
I have built modperl 1.25. I could run perl scripts fine. How can I send parameters to a perl scripts? Using http://mydomain.com/perl/foreach.pl?200+300 does not seem to work. you'll need to do it as something like http://mydomain.com/perl/foreach.pl?num1=200num2=300

Re: mod_perl 1.25 , perl 5.6.x , Redhat7.1

2001-06-08 Thread Tomas Zeman
Hi, I already tried to find solution in archive and on google.com, but I wasn't succesfull. Compiler in redhat 7.1 should be OK, because module compiles ok, but error is in perl 5.6.x 9I think), because on the same platform, it worked with perl 5.5 ! Tomas Date: Thu, 7 Jun 2001 22:17:54

RE: IP based instant throttle?

2001-06-08 Thread Christian Gilmore
You'd want to look at the scoreboard. mod_throttle_access (http://www.fremen.org/apache/) does this function based upon URI. The only changes would be to base it upon client IP and change the scope to allow it to be outside a Directory block. It would be a minor change. Regards, Christian

Re: mod_perl 1.25 , perl 5.6.x , Redhat7.1

2001-06-08 Thread Ged Haywood
Hi Tomas, On Fri, 8 Jun 2001, Tomas Zeman wrote: Compiler in redhat 7.1 should be OK, because module compiles ok, I don't follow your logic there. but error is in perl 5.6.x 9I think), because on the same platform, it worked with perl 5.5 Quite possible, all the same. I still use

Apache::AutoIndex SuppressHTMLPreamble directive

2001-06-08 Thread tim fulcher
Has anybody else noticed a bug with Apache::AutoIndex the IndexOptions SuppressHTMLPreamble directive ? First time I tried using this I got a warning: IndexOptions unknown/unsupported directive suppresshtmlpreamble Then I noticed that line 37 of AutoIndex.pm has a typo -

Re: Apache::AutoIndex SuppressHTMLPreamble directive

2001-06-08 Thread Philippe M . Chiasson
On Fri, Jun 08, 2001 at 05:21:31PM +0100, tim fulcher wrote: Has anybody else noticed a bug with Apache::AutoIndex the IndexOptions SuppressHTMLPreamble directive ? First time I tried using this I got a warning: IndexOptions unknown/unsupported directive suppresshtmlpreamble Then I

Re: comparison of templating methods?

2001-06-08 Thread Gerald Richter
At 02:26 PM 6/7/2001 +1000, Steve Smith wrote: HTML::Embperl For me, this has one major win over the other toolkits: auto form population from a hash. The online mortgage application system I wrote has about 1,800 form fields, which have to be populated with data from a database. By

Resetting STDIN after r-read

2001-06-08 Thread rodney Broom
I've got this module that needs to redirect sometimes. In doing this, the next request misses any POST data. I was playing with saving the data to disk and then reloading it on the next request like this: if ($first_pass) { $r-read($data, ...); print TEMP_FILE, $data; return

RE: Resetting STDIN after r-read

2001-06-08 Thread Geoffrey Young
-Original Message- From: rodney Broom [mailto:[EMAIL PROTECTED]] Sent: Friday, June 08, 2001 3:25 PM To: [EMAIL PROTECTED] Subject: Resetting STDIN after r-read I've got this module that needs to redirect sometimes. In doing this, the next request misses any POST data. I

Re: Resetting STDIN after r-read

2001-06-08 Thread rodney Broom
From: Geoffrey Young [EMAIL PROTECTED] of course http://perl.apache.org/guide/snippets.html#Redirecting_POST_Requests Heh, close. I'm using an external redirect because my purpose is to reset the address in the client's Location bar. So an internal redirect won't give me the desired effect.

Re: IP based instant throttle?

2001-06-08 Thread Justin
good ideas, thanks. as someone said its cloggage on the backend due to either SQL server contention or more likely largish pages draining to the user even with all the buffers en-route helping to mitigate this. you can't win : if they are on a modem they can tie up 8 modperl demons, and if they

Re: IP based instant throttle?

2001-06-08 Thread Justin
I'm glad I haven't got your user.. I think most any site on the net can be brought to its knees by, for example, stuffing its site search form with random but very common words and pressing the post button and issuing these requests as frequently as possible from a long list of open proxies.. or

Re: Resetting STDIN after r-read

2001-06-08 Thread Rodney Broom
From: rodney Broom [EMAIL PROTECTED] I've got this module that needs to redirect sometimes. In doing this, the next request misses any POST data. I was playing with saving the data to disk and then reloading it on the next request like this: if ($first_pass) { $r-read($data, ...);

Re: templating benchmarks...

2001-06-08 Thread Stas Bekman
On Fri, 8 Jun 2001, will trillich wrote: On Thu, Jun 07, 2001 at 06:48:38AM +0200, Gerald Richter wrote: regarding the tools that dovetail into the mod_perl paradigm, who's got a comparison over relative performance (and other strengths/weaknesses) of various templating methods?