options in case I need them!
Thanks,
David Booth
On 8/25/21 7:56 AM, James Smith wrote:
The other problem with sharing writable data in "memory" is that it would not
necessarily shared between multiple server instances. We run multiple mod_perl instances
for reliability. Agree with
to that shared data, such as locks or semaphores.
I also posted this message to StackOverflow, but got no response so far:
https://stackoverflow.com/questions/68901260/how-to-share-read-write-data-in-mod-perl-apache2
Any help would be appreciated!
Thanks,
David Booth
On 06/26/2014 08:42 PM, Mark Hedges wrote:
Try in a handler. (Apparently you cannot use Apache2::URI from command line?)
use Apache2::Log ();
use Apache2::URI ();
sub handler {
my ($r) = @_;
my $string = "6%2D41913%2FUK1";
Apache2::URI::unescape($string);
$r->log_error($stri
I used this tutorial to get mod_perl working the first time:
http://perl.apache.org/docs/2.0/user/intro/start_fast.html
Can you get that exact example (Rocks.pm) to work, following those
instructions? Please try that first, rather than your actual project,
just to get the invocation debugged.
On 02/28/2013 09:32 AM, Torsten Förtsch wrote:
On 02/28/2013 03:14 PM, demerphq wrote:
A special place in hell is reserved for programmers that write code
that assumes that spaces and other unprintables are illegal in a
filename.
Yes, right next door to another place in hell that is reserved f
protector
> --param=ssp-buffer-size=4 -m64 -mtune=generic -L/usr/local/lib'
>
>
> Characteristics of this binary (from libperl):
> Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
> PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
> PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_INT
> USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
> USE_REENTRANT_API
> Built under linux
> Compiled at Sep 14 2012 07:38:30
> @INC:
> /prb/opt64/perl-5.14.2/lib/site_perl/5.14.2/x86_64-linux-thread-multi
> /prb/opt64/perl-5.14.2/lib/site_perl/5.14.2
> /prb/opt64/perl-5.14.2/lib/5.14.2/x86_64-linux-thread-multi
> /prb/opt64/perl-5.14.2/lib/5.14.2
> .
>
>
> Many thanx for any hints!
> Petra
>
>
>
--
David Booth, Ph.D.
http://dbooth.org/
Opinions expressed herein are those of the author and do not necessarily
reflect those of his employer.
mod_perl archives leave me with no examples that don't
> > already assume that someone knows all of the appropriate
> > arguments and methods to call for setting up an object.
> >
> > Any help would be appreciated.
> >
> > --
> > Steven Lembark
On Fri, 2012-01-13 at 12:09 -0500, David Booth wrote:
> On Fri, 2012-01-13 at 16:06 +0100, André Warnier wrote:
> > I have a PerlResponseHandler which processes some kind of "logical
> > document-id" provided
> > in a request, locates the corresponding "real d
/perl.apache.org/docs/2.0/api/Apache2/SubRequest.html#C_internal_redirect_
and let Apache set the Content-Type for you.
If you do find the direct answer to your question, please post it, as
I'm interested in this question also.
Thanks!
--
David Booth, Ph.D.
http://dbooth.org/
Opinions expressed herein are those of the author and do not necessarily
reflect those of his employer.
d the whole point of this thread, but it
> seems to me that everyone is over-engineering the problem... (i've
> only been a Perl programmer for like three years, so I still have
> ton's to learn... hopefully I can learn from this if I'm way off
> base)
>
>
> Tha
,
David
On Tue, 2012-01-03 at 17:26 -0500, Daniel Risacher wrote:
> I think I've been bitten by this too, years ago.
>
> I *think* I solved it by switching to mpm_prefork, which was
> unsatisfying, but adequate for my needs.
>
> On Tue, Jan 3, 2012 at 5:21 PM, David Bo
play {
> system "/usr/bin/xmms -t 2> /dev/null";
> }
>
>
> On Tue, Jan 3, 2012 at 12:48 PM, David Booth wrote:
> > I am trying to run a shell command from a mod_perl2 response handler.
> > It works properly for some number of HTTP requests, but sometimes it
&
automatically re-try the request when it fails, thus giving the illusion
of succeeding.
P.S. I have posted about this on perlmonks, but thus far have not found
a solution:
http://www.perlmonks.org/?node_id=945947
--
David Booth, Ph.D.
http://dbooth.org/
Opinions expressed herein are thos
ttp://perl.apache.org/docs/2.0/user/handlers/http.html#item_The_special_case_of__code_Content_Length__0__code_
--
David Booth, Ph.D.
http://dbooth.org/
Opinions expressed herein are those of the author and do not necessarily
reflect those of his employer.
Stas Bekman suggested that I forward this issue to this list . . . .
Forwarded Message
From: David Booth
This section of the mod_perl 2 User Guide:
http://perl.apache.org/docs/2.0/user/handlers/intro.html#What_are_Handlers_
shows a simple handler subroutine that will be called
15 matches
Mail list logo