Yung Kwong Wing wrote:
"[thekid@visors thekid]# perl -MCPAN -install LWP
Can't open perl script "LWP": No such file or directory"
try:
perl -MCPAN -e 'install "LWP"'
sterling
check the guide:
http://thingy.kcilink.com/modperlguide/performance/PerlSetupEnv_Off.html
But %ENV population is expensive. Those who have moved to the Perl Apache API no
longer need this extra %ENV
population, and can gain by turning it Off. Scripts using the CGI.pm module require
is another optimization you might consider. This
directive requires mod_perl 1.25 or later.
but I run mod_perl 1.24, but http://perl.apache.org/dist/ makes no
reference to mod_perl 1.25
?
John K Sterling wrote:
check the guide:
http://thingy.kcilink.com/modperlguide/performance
the per_dir_configs (i.e. Location PerlSetVar) are not accessabled from
the Apache::Server. They are only accessable from
Apache::Request::dir_config. It makes sense if you think about it - a
per_dir config can be different for each Location. If you need any config
values in a PerlInitHandler,
read this: http://take23.org/whatis_mod_perl.xml
it should explain all.
sterling
Yung Kwong Wing wrote:
Hi,
Sorry for asking a stupid question, but I was wondering do I really need
to install "mod_perl" to get my website to work with CGI.
It seems that after my unsuccessful attempt at
At 02:22 AM 12/22/00 +0100, Stas Bekman wrote:
Well, this is new. You choose what sessions at ApacheCon you want.
I don't think it's a fair approach by ApacheCon committee, as by applying
this approach they are going to make the big player even bigger and kill
the emerging technologies,
yes - check out http://perl.apache.org/~dougm/modperl_2.0.html
sterling
On
10 Dec 2000, David Hodgkinson wrote:
Just a thought, but will mod_perl and Apache 2.0 be better for this?
Will we be able to isolate different hosts' perl more easily?
I think there's a Apache::Motd perl module, is that what your looking for?
sterling
On Thu, 7 Dec 2000, Jerrad Pierce wrote:
Am I losing my mind or is there a mod_motd for Apache floating around?
I haven't been able to find it anywhere, but I'm sure I've seen it.
(Checked Freshmeat, search
This is doug macEachern's bag -
those who were at apachecon in london saw the progress he had made at that
point - its pretty sweet. check the archives for summaries of his
presentation in late october.
sterling
On Mon, 4 Dec 2000, Robbie Lindauer wrote:
Is anyone working on an upgrade to
The below code in your startup.pl will have 1 connection per child. If
you're apache config allows for 20 kids, each one will get its own
connection to your database. There is no built in pooling support (though
that will be trivial in 2.0) but usually having a connection per kid is
what you're
even better: Apache-exit(SERVER_ERROR);. or die SERVER_ERROR;. this is
documented in the eagle book:
ch9 - The Apache::Constants Class
"...
While the HTTP constants are generally used as return codes from
handler subroutines, it is also possible to use the builtin die()
function to jump out
On Wed, 1 Nov 2000, Paul J. Lucas wrote:
On Wed, 1 Nov 2000, John K. Sterling wrote:
even better: Apache-exit(SERVER_ERROR);
The documentation for exit() deosnt' explicitly say you can do
that. It mentions only "0" and "DONE" (see pp. 464-465
The db connection happens once for each child - so every time you hit a
child for the first time it will open up a new connection - you probably
have apache configured to start with 4 or so kids.
sterling
On Mon, 23 Oct 2000,
Differentiated Software Solutions Pvt. Ltd wrote:
Hi,
I have
it appears that the mp dso was being unloaded before the cleanups were
complete, causing a crash in cleanup_sv - ONLY when running as a
service. still not sure why this happens, but this patch at least
eliminates the crash. i believe this is only called before the process
comes down (nt service
14 matches
Mail list logo