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
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]
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
---
--- 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
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
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,
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
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
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:
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
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
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.
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
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}
:
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
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
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
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
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
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
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]
-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
22 matches
Mail list logo