On Wed, 3 Oct 2007, Tracy E Schreiber wrote:
Hi,
I believe that mod_perl 2.0.3 is not compatible with Apache 2.2.6. Starting
Apache gives this error:
httpd.exe: Syntax error on line 31 of D:/Apache/conf/httpd.conf: Cannot load
D:/Apache/modules/mod_perl.so into server: The specified module
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
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,
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
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
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
This
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 how
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 you
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
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
problems,
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.
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
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
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
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
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
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
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
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
20 matches
Mail list logo