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 handl

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, pretty

Re: cgi to mod_perl question

2001-10-16 Thread Brice D Ruth
Brice D Ruth wrote: [EMAIL PROTECTED]"> Perrin Harkins wrote: 00a601c1568c$224f0a20$18020c0a@PerriHar"> It *seems* that the script can run once, butthat the next time it is accessed, it cannot connect to the $serveranylonger, it dies with a 'connecti

Re: cgi to mod_perl question

2001-10-16 Thread Brice D Ruth
Perrin Harkins wrote: 00a601c1568c$224f0a20$18020c0a@PerriHar"> It *seems* that the script can run once, butthat the next time it is accessed, it cannot connect to the $serveranylonger, it dies with a 'connection timed out' message ... What'gotcha' is causing this? It sounds lik

Re: cgi to mod_perl question

2001-10-16 Thread Brice D Ruth
declare your variables with 'my' in order to avoid the problemyou are encountering.'use strict' will help catch many issues that can trip you up undermod_perl.On Tue, 16 Oct 2001, Brice D Ruth wrote: I have a perl script that was running fine under IIS/5.0 withActivePe

Re: cgi to mod_perl question

2001-10-16 Thread Brice D Ruth
Why OT?  I have a script that works under IIS/5 using CGI Perl that doesn't work under Apache with mod_perl - I'd say that's on-topic for this list! -Brice ___cliff rayman___ wrote: [EMAIL PROTECTED]"> Brice D Ruth wrote: What is the difference between do

Re: cgi to mod_perl question

2001-10-16 Thread Brice D Ruth
What is the difference between doing the following: close( $server ); # $server->close(); # $server->shutdown(); ?? Sincerely, Brice Ruth Brice D Ruth wrote: > I have a perl script that was running fine under IIS/5.0 with > ActivePerl 6xx - I'll put the salient parts

cgi to mod_perl question

2001-10-16 Thread Brice D Ruth
1.25, but it may be 1.26 - the server's not running at the moment, else I'd find out for sure). It *seems* that the script can run once, but that the next time it is accessed, it cannot connect to the $server anylonger, it dies with a 'connection timed out' message ... What &#x

Re: Limiting total bandwidth ... nicely

2001-09-28 Thread Brice D Ruth
I should have checked modules.apache.org, first - sorry for the wasted post, guys. Brice D Ruth wrote: > I'd like to limit the bandwidth a particular site uses on my managed > server (to not exceed my total monthly data transfer limit) - the > server is used for corporat

Limiting total bandwidth ... nicely

2001-09-28 Thread Brice D Ruth
I'd like to limit the bandwidth a particular site uses on my managed server (to not exceed my total monthly data transfer limit) - the server is used for corporate sites, but I have monthly bandwidth to spare, so I'd like to start mirroring some OSS centric sites. I just don't want to get a

Microsoft Access + Perl

2001-09-18 Thread Brice D Ruth
Am I assuming correctly, that Perl could communicate with a MS Access database file via ODBC, on a Windows box? If so, are there any particular gotchas or limitations to this approach that I should be aware of? I typically use MySQL or PostgreSQL on a Linux or FreeBSD box, so this is sorta n

Re: Help w/ install [ActivePerl,W2K Server,Apache 1.3.20]

2001-09-06 Thread Brice D Ruth
pache for Win32... IssacPGP Key 0xE0FA561B - Fingerprint:7E18 C018 D623 A57B 7F37 D902 8C84 7675 E0FA 561B- Original Message -From: "Brice D Ruth" <[EMAIL PROTECTED]>To: <[EMAIL PROTECTED]>Sent: Friday, September 07, 2001 00:00Subject: Help w/ install [ActivePerl

Help w/ install [ActivePerl,W2K Server,Apache 1.3.20]

2001-09-06 Thread Brice D Ruth
I'm trying to simply get Apache/mod_perl working in W2K ... I've been trying to follow the steps outlined in messages I've found from searching through archives, but it seems I'm a bit stuck. My experience w/ Apache has always been in Linux or *BSD, so I'm somewhat lost when it comes to getti