Chris Lewis wrote:
[Given that Stronghold is a bit old, I'm endeavering to build
Apache/mod_ssl/mod_perl from scratch, but it complains about not being
able to load Apache.pm... Is there a step-by-step set of Solaris
instructions somewhere?]
Maybe following helps:
Christophe wrote:
I am pretty new with mod_perl and I have the following runtime error :
Database handle destroyed without explicit disconnect at
/usr/lib/perl5/site_perl/5.005/i386-linux/Apache/Registry.pm line 144.
[Tue Oct 3 22:33:58 2000] [error] Can't call method "errstr" on
--
mod_perl digest
September 24, 2000 - September 30, 2000
--
Welcome to the first digest of the
I think someone should tell Mr. "-" (aka 051581324) not to go offtopic. Or at least
say something intelligent, if you must go offtopic.
--Original Message--
From: Matt Sergeant [EMAIL PROTECTED]
To: - [EMAIL PROTECTED]
Sent: October 2, 2000 7:43:23 AM GMT
Subject: Re: Way it is so
The difficulties in using mod_perl are not an offtopic though.
But I agree about the intelligent part. There are certainly clearer ways of
wording ones frustrations.
At 05:24 AM 10/4/00 -0400, ricarDo oliveiRa wrote:
I think someone should tell Mr. "-" (aka 051581324) not to go offtopic. Or
I'm looking for individuals/companies to undertake short duration tightly scoped
development projects in mod_perl, apache, MySQL LDAP.
Williams Lea Group is building it's intranet using these technologies and
we need a variety of small applications to support various business
On Tue, 3 Oct 2000, James Xie wrote:
I try to use Apache::Status to find out memory usage of my perl scripts, I
configured the system according to the mod_perl guide:
Add the following lines to httpd.conf
Location /perl-status
SetHandler perl-script
PerlHandler
-Original Message-
From: Roger Espel Llima [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 04, 2000 5:09 AM
To: [EMAIL PROTECTED]
Cc: Geoffrey Young
Subject: Re: [DIGEST] mod_perl digest 9/24/2000
[snip]
Great! I think this is the best thing that could be done at
"Roderick A. Anderson" wrote:
Sorry but I've run out of sources. (Don't have netnews.) Is there a
mailing list for CGI.pm? I've done all I can by reading the 'the book'
and searching the net. Can't find anything like the symtoms I'm seeing.
Actually the problem may be a lack of perl
I found _my_ error that caused me to send the original message. It was a
perl thingy. Now I've got to get with the Camel book to find out if I
can and how to do what I really wanted to do.
Fyi, I was trying to pass the keys of a hash to the -values in a
popup_menu (CGI.pm). Followed by the
If I repeatedly write to:
$session{foo}{bar}
I find that I have to do something like:
$session{smack}++;
to get it to write when the hash is untied. Is there a better way to do this?
TIA
ian
Reading the directions ;-)
Apache::Session doesn't do any deep checking, if a top level doesn't value
doesn't change
it may not detect the change.
This is why your workaround works...
The offically recommend workaround (I believe) is to keep a timestamp as a
top level value in the hash...
On 3 Oct 2000, at 14:17, Roderick A. Anderson wrote:
Sorry but I've run out of sources. (Don't have netnews.) Is
there a mailing list for CGI.pm? I've done all I can by reading
the 'the book' and searching the net. Can't find anything like
the symtoms I'm seeing.
Actually the
It seems I forgot to pre-load the Apache::Status module, it works now once I
add the following line in configuration file:
PerlModule Apache::Status;
I also pre-loaded B::Terse in the startup.pl.
Thanks
James
-Original Message-
From: Stas Bekman [mailto:[EMAIL PROTECTED]]
At 12:04 AM 10/02/00 -0600, Scott Wilson wrote:
I've seen a similar result on an IRIX installation I'm working on.
Anyone have any ideas?
So did you decide NOT to pre-load modules?
Scott
Bill Moseley wrote:
Won't someone comment on this post? That's a chunk of memory!
At 11:46 AM
Hi All,
Quick question - can I fork off a process in mod_perl? I've got a piece
of code that needs to do a lot of processing that's unrelated to what
shows up in the browser. So I'd like to be able to fork the processing
off and return data to the browser, letting the forked process handle
the
-Original Message-
From: David E. Wheeler [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 04, 2000 3:44 PM
To: [EMAIL PROTECTED]
Subject: Forking in mod_perl?
Hi All,
Quick question - can I fork off a process in mod_perl? I've
got a piece
of code that needs to do a
Hi David,
Check out the guide at
http://perl.apache.org/guide/performance.html#Forking_and_Executing_Subprocess
The Eagle book also covers the C API subprocess details on page 622-631.
Let us know if the guide is unclear to you, so we can improve it.
Ed
"David E. Wheeler" wrote:
Hi All,
Hello,
I am trying to install Apache 1.3.12 with mod_perl 1.24 on Solaris 2.8.
In my most recent attempt, relying on several suggestions from the
archive I have:
(Using gcc 2.92.2 for all compiling.)
Recompiled Perl 5.6.0
sh Configure -Dcc=gcc -Uuselargefiles
Recompiled Apache 1.3.12
Hy, list people.
I'm need build a rewriting proxy module for my apache. The basic
idea is get a request, turn it on a proxy request as described in the
eagle book @ page 371, rewrite the $request-contents so the client will
come back to me when processing the
I was just going to post that url to the guide also... But another option
I've come up with not listed in the guide is to use the *nix "at" command.
If I need to run some processor intensive application that doesn't need
apache_anything, I'll do a system call to "at" to schedule it to run
ed phillips wrote:
Hi David,
Check out the guide at
http://perl.apache.org/guide/performance.html#Forking_and_Executing_Subprocess
The Eagle book also covers the C API subprocess details on page 622-631.
Let us know if the guide is unclear to you, so we can improve it.
Yeah, it's
On Oct 04, Luis 'Champs' de Carvalho wrote:
Can i make the mod_proxy redirect using a sub-request, and still
have the contents (and headers, and everything else) to let apache handle
the response phase ?
no.
If not, how can i do this weird thing?
take a look at
I hope it is clear that you don't want fork the whole server!
Mod_cgi goes to great pains to effectively fork a subprocess, and
was the major impetus I believe for the development of
the C subprocess API. It (the source code for
mod_cgi) is a great place to learn some of the
subtleties as the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Wed, 4 Oct 2000, ed phillips wrote:
Now you are faced with a trade off. Is it more expensive to
detach a subprocess, or use the child cleanup phase to do
some extra processing? I'd have to know more specifics to answer
that with any modicum
ed phillips wrote:
I hope it is clear that you don't want fork the whole server!
Mod_cgi goes to great pains to effectively fork a subprocess, and
was the major impetus I believe for the development of
the C subprocess API. It (the source code for
mod_cgi) is a great place to learn some
Billy Donahue wrote:
Now you are faced with a trade off. Is it more expensive to
detach a subprocess, or use the child cleanup phase to do
some extra processing? I'd have to know more specifics to answer
that with any modicum of confidence.
He might try a daemon coprocesses using
On Wed, Oct 04, 2000 at 02:42:50PM -0700, David E. Wheeler wrote:
Yeah, I was thinking something along these lines. Don't know if I need
something as complex as IPC. I was thinking of perhaps a second Apache
server set up just to handle long-term processing. Then the first server
could send a
I have an authentication scheme which checks every request for a valid
cookie, and if your session has timed out redirects to a login page. After
logging in, the request is resubmitted as a GET. This works great except
when the original post is large--the redirect URL gets way too long (10K
or
Dear List,
This may be a stupid question... but anyway...
I am using mod_perl with persisent database connections enabled via Apache::DBI.
This works great, because most of the web site uses a "generic" user to connect to the
database. However I do authentication via the database ( i.e :
I use a database table for the queue. No file locking issues, atomic
transactions, you can sort and order the jobs, etc . . . you can wrap the
entire "queue" library in a module. Plus, the background script that
processes the queue can easily run with higher permissions, and you don't
have to
On Wed, 4 Oct 2000, Jerrad Pierce wrote:
Reading the directions ;-)
Apache::Session doesn't do any deep checking, if a top level doesn't value
doesn't change
it may not detect the change.
This is why your workaround works...
The offically recommend workaround (I believe) is to keep a
David E. Wheeler writes:
Using the cleanup phase, as Geoffey Young suggests, might be a bit
nicer, but I'll have to look into how much time my processing will
likely take, hogging up an apache fork while it finishes.
I've wondered about this as well. I really like the cleanup handler,
33 matches
Mail list logo