cvs commit: modperl-2.0/src/modules/perl mod_perl.h modperl_cmd.c

2002-05-18 Thread dougm
dougm 02/05/18 19:26:11 Modified:src/modules/perl mod_perl.h modperl_cmd.c Log: fold some duplication in modperl_cmd_{set,add}_var Revision ChangesPath 1.42 +4 -0 modperl-2.0/src/modules/perl/mod_perl.h Index: mod_perl.h

Re: modperl idle timeout....

2002-05-18 Thread Richard Clarke
Why don't you just set your maximum child requests to a reasonable number and have them restart themselves after they have executed what you would call enough requests to need flushing. Ric. - Original Message - From: Jim Morrison [Mailinglists] [EMAIL PROTECTED] To: [EMAIL PROTECTED]

'' in regex

2002-05-18 Thread Rizwan Majeed
I was trying this out : $SomeVar =~ // ;$SomeVar =~ /''/ ;$SomeVar =~ /\/ ;none of these works. Need help Thanks Riz - Original Message - From: Mithun Bhattacharya [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, May 18, 2002 4:01 PM Subject: Re: Apache::DB ---

Re: '' in regex

2002-05-18 Thread Mithun Bhattacharya
--- Rizwan Majeed [EMAIL PROTECTED] wrote: I was trying this out : $SomeVar =~ // ; $SomeVar =~ /''/ ;$SomeVar =~ /\/ ;none of these works. Works for me in perl 5.6.1 [mithun@zorro mithun]$ perl -wT -e 'my $test = you \ me; print voila\n if $test =~ /\/;' voila Mithun

Re: '' in regex

2002-05-18 Thread Perrin Harkins
Rizwan Majeed wrote: I was trying this out : $SomeVar =~ // ;$SomeVar =~ /''/ ;$SomeVar =~ /\/ ;none of these works. Need help This list is for mod_perl questions. For beginner Perl questions, you should try one of the mailing lists at http://lists.perl.org/ or post your

[OT] Re: '' in regex

2002-05-18 Thread Per Einar Ellefsen
At 15:15 18.05.2002, Rizwan Majeed wrote: I was trying this out : $SomeVar =~ // ;$SomeVar =~ /''/ ;$SomeVar =~ /\/ ;none of these works. This is unrelated to mod_perl. Please ask your question somewhere related directly to Perl, such as the comp.lang.perl.misc newsgroup,

Re: mod_perl and mod_cgi

2002-05-18 Thread Perrin Harkins
Konstantin Yotov wrote: MaxClients 150 MaxRequestsPerChild 0 You're probably running out of memory and going into swap, which will give terrible performance. MaxClients 150 is really high, and you should only set MaxRequestsPerChild to 0 if you're using Apache::SizeLimit or

Apache::DBI

2002-05-18 Thread Gregory Matthews
Hello again: I figured out my Apache::DB problem with the help from Stas Bekman. Thanks! Now on to Apache::DBI. The documentation says NOT to use this module IF you are opening a special connection for each of your users. Does this mean if each user has to use a unique username/password to

Re: Apache::DB

2002-05-18 Thread Gregory Matthews
At 01:30 AM 5/18/2002 +0800, you wrote: [please don't forget that to CC the list!] Gregory Matthews wrote: Stas: Thanks for your reply on my issue in the Mod_Perl list. Excuse my ignorance, but how do I do the following: before you try to build Apache::DB try to build test.c with the contents:

Re: Apache::DBI

2002-05-18 Thread Perrin Harkins
Gregory Matthews wrote: Does this mean if each user has to use a unique username/password to OPEN the database? Yes, eaxctly. My prog will use the same database:username:password for all connection requests opened with a db_connect($database,$user,$password) call, however, each user

Re: Apache::DBI

2002-05-18 Thread Gregory Matthews
Perrin: Yes, my prog checks for valid username/password requests and issues the proper response. So it sounds like Apache::DBI is a good solution then since all users will be working under the same handle? Gregory At 02:03 PM 5/18/2002 -0400, you wrote: Gregory Matthews wrote: Does this mean

Re: Apache::DBI

2002-05-18 Thread Perrin Harkins
Gregory Matthews wrote: Yes, my prog checks for valid username/password requests and issues the proper response. So it sounds like Apache::DBI is a good solution then since all users will be working under the same handle? Yes, that's correct.

Re: Apache::DBI

2002-05-18 Thread Per Einar Ellefsen
At 19:59 18.05.2002, Gregory Matthews wrote: Hello again: I figured out my Apache::DB problem with the help from Stas Bekman. Thanks! Now on to Apache::DBI. The documentation says NOT to use this module IF you are opening a special connection for each of your users. Does this mean if each

Seg fault on apache start

2002-05-18 Thread Jaberwocky
I'm having some problems with this. Apache seg faults on the call to parse... This is the code I'm calling: package Something::Configure; sub new{my $pkg = shift;my %params = @_;my $debug = (exists $params{debug} ? $params{debug} : 0 );my $file = (exists $params{file} ? $params{file} :

error_log contents

2002-05-18 Thread Gregory Matthews
I am getting the following repeating code in my error log in doing some testing on my script: DB1 DB1 DB1 DB1 DB1 DB1 DB1 DB1 Does anyone know what this means? It seems to go away when I restart apache. Gregory

Modifying @INC via startup.pl

2002-05-18 Thread Gregory Matthews
I am trying to: use lib qw(/dir/foo); in my startup.pl file but INC is NOT showing the path. I keep getting Can't locate config.pl in INC errors after restarting the server and calling the script. My prog reads: require qq(config.pl); I am not sure what is going on. INC shows: (INC

Re: Modifying @INC via startup.pl

2002-05-18 Thread Jaberwocky
I did this: use lib qw(path to files); That adds the path to @INC. Someone correct me if that's the wrong way to do things - Original Message - From: Gregory Matthews [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, May 18, 2002 6:12 PM Subject: Modifying @INC via startup.pl

Re: error_log contents

2002-05-18 Thread Garth Winter Webb
Type this: $ perl -de 1 And tell me if it looks familiar to you. Looks like somehow, somewhere, the debugging flag is being set... G On Sat, 2002-05-18 at 14:11, Gregory Matthews wrote: I am getting the following repeating code in my error log in doing some testing on my script: DB1

Re: Apache::DB

2002-05-18 Thread Gregory Matthews
Stas: Thanks again! Gregory At 01:30 AM 5/18/2002 +0800, you wrote: [please don't forget that to CC the list!] Gregory Matthews wrote: Stas: Thanks for your reply on my issue in the Mod_Perl list. Excuse my ignorance, but how do I do the following: before you try to build Apache::DB try to

Re: Modifying @INC via startup.pl

2002-05-18 Thread Gregory Matthews
Tried that...doesn't work either. @INC still cannot find my config.pl file. If I add the use lib statement to my script, all is o.k.. If I try to add it to my startup.pl and call it at startup time, I get the error from @INC. At 06:16 PM 5/18/2002 -0400, you wrote: I did this: use lib

Re: Modifying @INC via startup.pl

2002-05-18 Thread PinkFreud
Perhaps this might work: BEGIN { use lib qw(/dir/foo); } On Sat, May 18, 2002 at 07:50:01PM -0500, Gregory Matthews babbled thus: X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sat, 18 May 2002 19:50:01 -0500 To: Jaberwocky [EMAIL PROTECTED] From: Gregory Matthews [EMAIL PROTECTED]

Re: Seg fault on apache start

2002-05-18 Thread Stephen Clouse
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, May 18, 2002 at 05:03:11PM -0400, Jaberwocky wrote: I'm having some problems with this. Apache seg faults on the call to parse... http://perl.apache.org/guide/troubleshooting.html#Segfaults_when_using_XML_Parser - -- Stephen Clouse [EMAIL