Jeff Pang wrote:
2007/10/5, D. Hageman <[EMAIL PROTECTED]>:
The module will be preloaded just like your script, thus any speed up
experienced by your script will also be experienced by the module.
Hi,
If you don't preload it in startup.pl or with PerlModule directive in
httpd.conf,I don't t
2007/10/5, D. Hageman <[EMAIL PROTECTED]>:
> The module will be preloaded just like your script, thus any speed up
> experienced by your script will also be experienced by the module.
>
Hi,
If you don't preload it in startup.pl or with PerlModule directive in
httpd.conf,I don't think registry sc
reto wrote:
Hi everyone,
I just configured mod_perl on for my apache2 server on debian 4.
I have a perl-script index.cgi which is handled by mod_perl, by:
SetHandler perl-script
PerlHandler Apache::Registry
Options ExecCGI
This script uses a Perl-Module in the same directory I wrote. This
co
Hi everyone,
I just configured mod_perl on for my apache2 server on debian 4.
I have a perl-script index.cgi which is handled by mod_perl, by:
SetHandler perl-script
PerlHandler Apache::Registry
Options ExecCGI
This script uses a Perl-Module in the same directory I wrote. This
could be somethi
Octavian Rasnita wrote:
>
> Yes I've enabled DrWatson and I put the files with symbols in Apache
> directory, however I can't find something that could help me in the
> DrWatson log file.
Good. Don't actually interrupt the program (the example using -g {PID}
to force the program to die). Your s
On Thu, 4 Oct 2007, Ian G. Tyndall wrote:
Oh the problems come and go so quickly!
I've got one cgi script that always crashes apache. The error log gives
the following message:
[Thu Oct 04 11:38:29 2007] [crit] (22)Invalid argument: Parent: Failed
to create the child process.
[Thu Oct 04 11:38
Oh the problems come and go so quickly!
I've got one cgi script that always crashes apache. The error log gives
the following message:
[Thu Oct 04 11:38:29 2007] [crit] (22)Invalid argument: Parent: Failed
to create the child process.
[Thu Oct 04 11:38:29 2007] [crit] (OS 6)The handle is invalid.
Thanks guys! Look like I got alot of scripts to change!
-Original Message-
From: iain hubbard [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 04, 2007 11:06 AM
To: modperl@perl.apache.org
Subject: RE: Turning off caching
> This is not a global rule: "do not use 'my' for any variable
> This is not a global rule: "do not use 'my' for any
> variables". You should still use 'my' for most variables.
Exactly, a poor description by me :(
Iain.
> Sorry if this has been mentioned before or I'm teaching you to suck eggs,
> but if you are running an old CGI script in mod_perl you need to not scope
> with 'my'.
>
> See
> http://perl.apache.org/docs/general/perl_reference/perl_reference.html#my___
> _Scoped_Variable_in_Nested_Subroutines
From: "William A. Rowe, Jr." <[EMAIL PROTECTED]>
Octavian Rasnita wrote:
Well, I've uninstalled VS6 and VS.net, but this message still appears,
so I have no where to go in Tools/Options/...
You didn't bother to finish reading;
http://httpd.apache.org/dev/debugging.html
Which tells you ho
> For argument sake, I went ahead and added the following to
> the top of one of the problem scripts:
>
> my $r = shift;
> $r->no_cache(1);
>
> And it didn't fix it.
Sorry if this has been mentioned before or I'm teaching you to suck eggs,
but if you are running an old CGI script in mod_perl
Ian G. Tyndall wrote:
> Thanks for the quick responses!
>
> For argument sake, I went ahead and added the following to the top of
> one of the problem scripts:
>
> my $r = shift;
> $r->no_cache(1);
>
> And it didn't fix it.
if that didn't work then you might be experiencing variable sharing
On 10/4/07, Ian G. Tyndall <[EMAIL PROTECTED]> wrote:
> I've got an existing cgi project that I was hoping to get some performance
> improvements from mod_perl. Everything was going great until I ran into a
> caching issue. The script repeatedly performs the last action given
> regardless of the pa
Thanks for the quick responses!
For argument sake, I went ahead and added the following to the top of
one of the problem scripts:
my $r = shift;
$r->no_cache(1);
And it didn't fix it.
Geoffrey:
I tried the mod_expires with : access 1 seconds
That didn't work either... thanks though.
Adam:
I'm
You can't use it in startup.pl or httpd.conf, but you could create a
PerlInitHandler that runs for the whole site (or part of it) and use it
in there. At least that's another option.
Adam
-Original Message-
From: Geoffrey Young [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 04, 2007
Boysenberry Payne wrote:
> If I have my own success story how would I go about adding it to the list?
I think you can just email your success story to the list. then someone
with sufficient karma can add the email into
http://svn.apache.org/repos/asf/perl/modperl/docs/trunk/src/outstanding/su
Ian G. Tyndall wrote:
> I've got an existing cgi project that I was hoping to get some
> performance improvements from mod_perl. Everything was going great until
> I ran into a caching issue. The script repeatedly performs the last
> action given regardless of the paramaters passed in.
>
> I've
I've got an existing cgi project that I was hoping to get some
performance improvements from mod_perl. Everything was going great until
I ran into a caching issue. The script repeatedly performs the last
action given regardless of the paramaters passed in.
I've seen this:
$r->nocache(1);
But, ho
Why don't you read about what's new in 2.2:
http://httpd.apache.org/docs/2.2/new_features_2_2.html
Jeff Pang wrote:
Hello,
Does apache2.2+mp2 have much advantage than apache2.0+mp2?
2007/10/4, Foo JH <[EMAIL PROTECTED]>:
You may want to hold back on 2.2.6. Use either 2.2.4 from ASF or 2.2.5
20 matches
Mail list logo