On 03/09/14 21:38, Randal L. Schwartz wrote:
> What I need to know is what is mod_perl doing differently? Does it not
> respect binmode STDIN, ":utf8"? Apparently not. So if you know of a
> way to get mod_perl to "fix" reading from the browser properly, I'm
> interested in that.
Something along
On 19/06/14 02:13, Worik Stanton wrote:
> In my handler I call $r->path_info to determine the path used to
> call my script.
>
> I am trying to have a test version of my code using the same module
> but which reads different data based on the path.
>
> So I have:
>
>
> SetHandler perl-script
On 12/06/14 11:41, Louis-David Mitterrand wrote:
> I found Apache2::ModSSL which adds $c->is_https but it seems old and not
> packaged for debian.
I am the author of said module. I haven't tried it with the httpd24
branch. But for httpd 2.2. it is expected to work.
However, the only reason you mi
On 09/01/14 00:53, Fred Moyer wrote:
> Getting a segfault with httpd 2.2.24/5.14.2, will get a coredump and
> backtrace and report back.
>
I probably missed your initial mail, sorry. I take it the perl
application accessing the scoreboard dumps core, not the apache, right?
You need to compile the
On 22/10/13 18:13, Bruce Johnson wrote:
>> To me the problem seems to be %ENV being tied to $r->subprocess_env. So,
>> > neither PerlSetEnv nor SetEnv actually change the current process'
>> > environment.
> Pardon me if this sounds dumb, but what possible use are those directives,
> then?
>
It'
On 21/10/13 19:57, Bruce Johnson wrote:
> We've set a Directory directive for some perl scripts, setting a mod_perl
> handler:
>
> Alias /card_access /home/allwebfiles/perl/catcard
>
>
> SetHandler perl-script
> PerlResponseHandler ModPerl::Registry
> PerlOptions +ParseHeaders
>
On 10/08/13 15:19, Lucas wrote:
> But if apache receives "connection reset by peer" I would like to handle
> it with mod_perl.
>
> And my question was - how to do that.
http://foertsch.name/ModPerl-Tricks/postgres-notifications/index.shtml#goto8
Have a look at the wait_for_notification function.
On 04/07/13 17:48, Bill Moseley wrote:
> Applications probably don't
> need to care. They should receive the body -- so for mod_perl that means
> reading data using $r->read until there's no more to read and then the app
> should never need to look at the Transfer-Encoding header -- or
> Content-L
On 28/05/13 09:06, Nageswara rao Gurram wrote:
> I am using PerlModule Apache2::porting for debugging purpose.
Oh my goodness! I have never had a look at this module before. This
thing tries to be really clever. It installs an &UNIVERSAL::AUTOLOAD and
overwrites CORE::GLOBAL::require.
The module
On 27/05/13 14:37, Nageswara rao Gurram wrote:
> My mod_perl simply can't load XML::Generator. As soon as I put "use
> XML::Generator;" in a perl startup file and include in httpd.conf,
> Apache won't start, complaining that it can't locate
> XML/Generator/overload.pm in @INC.
>
> But the package
On 14/05/13 09:57, jitendra.s...@accenture.com wrote:
> I posted the issue on AMF group only then they said to post query to
> apache perl group.Is there any other forum where I can get solution
> for this issue?
I didn't follow this thread. So, please ignore if this has been asked
before.
What h
On 23/04/13 22:48, Ryan Perry wrote:
> except I use a threaded MPM so I can't use child_terminate. Is there
> another method similar to that?
yes, use prefork, ;-)
Sorry, couldn't resist.
Torsten
On 23/04/13 17:49, Ryan Perry wrote:
> I've been plagued by some bug that makes a call to LWP stop working:
> "Can't connect to 192.168.0.222 (Bad hostname)"
If you can catch the error when it occurs, you can call
$r->child_terminate to terminate the process after the current request.
The parent a
On 10/04/13 14:34, Torsten Förtsch wrote:
> I know the modperl mailing list has been used time and again for job
> offers or applications. I am here to do the latter.
This mail is intended to Jiří who sent a reply to my message. Sorry for
that, but when I tried to reply to your mail I
Hi,
I know the modperl mailing list has been used time and again for job
offers or applications. I am here to do the latter.
People on this list tend to know me as committer and as a helping hand
if they encounter problems with modperl or httpd.
Currently, I am looking for a project preferably i
On 03/12/2013 02:59 AM, Martín Ferrari wrote:
> +$r->write("ok 1");
> +$r->write("not ok 2");
I think it should read (missing \n):
+$r->write("ok 1\n");
+$r->write("not ok 2\n");
Torsten
On 02/28/2013 11:59 AM, Torsten Förtsch wrote:
> I agree with you that the behavior is unexpected. Also, the XXX comment
> in line 783 points out that my_finfo() is a temporary solution. So,
> perhaps it would be best to use APR::Finfo here. If family allows it
> I'll fix it over
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.
+1
Torsten
On 02/28/2013 12:31 PM, alexander.elg...@external.t-systems.com wrote:
>
>> > [Wed Feb 13 16:27:33 2013] [error] [client 192.168.254.21] Unsuccessful
>> > stat on filename containing newline at
>> > /usr/local/lib64/perl5/ModPerl/RegistryCooker.pm line 787.\
On 02/14/2013 02:39 AM, Michael A. Capone wrote:
> [Wed Feb 13 16:27:33 2013] [error] [client 192.168.254.21] Unsuccessful
> stat on filename containing newline at
> /usr/local/lib64/perl5/ModPerl/RegistryCooker.pm line 787.\n
>
> ... which in turn results in a 500 Server Error.
The culprit here
On 02/05/2013 05:38 PM, Hibbard, Timothy wrote:
> Why does it say Apache2::RequestRec instead of Apache2::Access?
This is to be expected. Many of the Apache2::* modules import methods to
the Apache2::RequestRec namespace.
Sorry for not being helpful with your actual problem. Perhaps you have a
lo
On 02/05/2013 05:27 PM, Hibbard, Timothy wrote:
> Can someone clue me in to what libraries are needed for $r->requires().
$ perl -MModPerl::MethodLookup -e print_method requires
To use method 'requires' add:
use Apache2::Access ();
Torsten
On 02/05/2013 03:37 PM, jitendra.s...@accenture.com wrote:
> Also, can you please elaborate how 32bits arcitecture can create issue here.
Did you read the thread I mentioned? In particular:
http://www.gossamer-threads.com/lists/modperl/modperl/103551#103551
I just noticed that the link to the
On 02/05/2013 01:29 PM, jitendra.s...@accenture.com wrote:
> 1. Problem Description:
>
> Apache start is failing after adding mod_perl module in httpd.conf.
>
I take it you ran "make test" and all tests passed? Then make sure you
use the same perl/modperl/httpd combination. Make sure all the pat
On 12/16/2012 12:59 PM, André Warnier wrote:
> Is there a difference ?
no
> If not, what was the idea in defining some of them twice with a
> different name ?
I think mostly historical. Mp1 already had these overlapping sets. In
the beginning mp2 tried to be as compatible as possible to mp1.
To
On 12/15/2012 01:30 PM, André Warnier wrote:
> And somehow the $r->add_config() looks a bit like a roundabout way of
> achieving what I want. If I can, kind of, "stuff" an additional
> SetHandler configuration directive into the Apache configuration for my
> request, telling Apache "now do as if t
On 12/14/2012 02:52 PM, André Warnier wrote:
> Or am I totally off-track here ?
I think yes, you are confused by the similarity of "finfo" and
"OR_FILEINFO".
The finfo part of $r is simply a data structure that represents the
metadata of a file on the filesystem such as modification dates, access
On 12/14/2012 11:41 PM, Grant wrote:
> I'm using Interchange::Link for linking mod_perl to Interchange (
> icdevgroup.org). It works with 2.0.4 but breaks with 2.0.7. Someone told
> me they tracked it down to line 684:
>
> while( ) {
>
> https://github.com/interchange/interchange/blob/master/d
On 11/29/2012 10:37 AM, André Warnier wrote:
> When I say that it doesn't work, I mean in fact :
> - the "Content-Type" response header sent by the server is properly set
> according to what I do above (as verified in a browser plugin)
> - but if what I print contains "accented" characters, they ar
On 11/26/2012 09:05 AM, André Warnier wrote:
>
> http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewritecond
>
> there is apparently a "server variable" HTTPS which can be tested in a
> RewriteCond, and which looks just like what I need :
>
> HTTPS
> Will contain the text "on" if the c
On 11/24/2012 11:51 PM, André Warnier wrote:
> Building it on Windows from the tar.gz doesn't seem to work either, as
> it appears to require gcc (and probably a lot of other things not
> available on my XP laptop).
ModSSL.xs does not contain any Linux-specific stuff. It should be
compilable on Wi
On 11/24/2012 08:11 PM, Fred Moyer wrote:
> On Sat, Nov 24, 2012 at 7:58 AM, André Warnier wrote:
>> > Inside a mod_perl2 request handler, how can I find out if the current
>> > request was received via HTTP or HTTPS ?
> Torsten is the author of this module, so he can explain it in more
> detail,
On 11/23/2012 06:39 PM, André Warnier wrote:
> 1) is that "early enough" to be before the Apache ProxyPass step ?
yes, the proxy works as usual in the response phase.
> 2) can I set the "(corresponding hostname)" above in such a Perl
> handler, or otherwise manipulate the URI before it gets proxy
On 11/20/2012 09:38 PM, Samuel Gómez wrote:
> my $cfg = Apache2::Module->get_config(__PACKAGE__, $s);
try:
Apache2::Module::get_config(__PACKAGE__, $s);
The way you call it means
Apache2::Module::get_config('Apache2::Module', __PACKAGE__, $s);
Torsten
On 11/14/2012 03:53 PM, André Warnier wrote:
> The tidbit above makes me think about a possibility to solve another
> issue that happens from time to time : some users browsers that are NOT
> refreshing their copies of stylesheets or javascript libraries, even
> though they have been modified.
> No
On 11/14/2012 02:48 PM, André Warnier wrote:
> I my particular case, the sendfile() solution above works fine, because
> I am sure in this case that no additional processing needs to take place
> on those static pages.
What I meant in particular was the HTTP code 304 generation. With your
solution
On 11/13/2012 07:17 PM, André Warnier wrote:
> I didn't want to take too much time of anyone before, which is why I
> somewhat oversimplified the issue. But considering the traffic on the
> lis os low, maybe you want to hear the whole story after all.
>
> The basic case is this : a bit aside from
On 11/12/2012 06:19 PM, André Warnier wrote:
> In response to some request URLs, I have to compose a response
> structured as follows :
>
> - a html frameset document with two frames
> - in the 1st frame, the result of another HTTP request to the same
> Apache server.
> This URI of this HTTP req
On 11/10/2012 03:43 PM, Mark Heiges wrote:
>
> On Nov 9, 2012, at 10:36 PM, Mark Heiges wrote:
>
>> I have a name-based virtual host and want to use Socket.pm in a PerlSection:
>>
>>
>> use Socket;
>>
>>
>> but when starting httpd I get the error,
>>
>> $parms->add_config() has failed: Invalid
On 11/09/2012 06:40 AM, Feng He wrote:
> Nobody knows this item?
I think you didn't get an answer here because the question is not
related to modperl. It's purely perl matter.
Exporting a variable out of package A into package X means something like
*X::var=\$A::var;
Now, you have to figure o
On 10/09/2012 10:44 AM, Jean-Michel wrote:
> I have some mod_perl modules that implement REST services. I want to
> test them with Apache::Test. So, I have some questions :
>
> - Is it possible to use DELETE method with Apache::Test ? I didn't
> find any examples
$ perl -MApache::TestRequest -le
On 09/03/2012 03:59 PM, Anton Petrusevich wrote:
>> From the doc:
> === The difference between headers_out and err_headers_out, is that
> the latter are printed even on error, and persist across internal
> redirects (so the headers printed for ErrorDocument handlers will
> have them). ===
Yes,
On 07/23/2012 05:20 AM, Igor Chudov wrote:
> I am working on my internal IT system for my business. It is, of course,
> mod_perl based, as is the rest of what I do (algebra.com etc).
>
> As a part of it, I have an intranet web form that starts a task, which
> happens to take a long time, such as m
On 06/26/2012 09:46 AM, Rommel Sharma wrote:
>
>
> SetHandler modperl
You don't need that. SetHandler declares the response handler. But your
response is generated either by the default handler for static content
or by mod_jk. "SetHandler modperl" should be used only if there is also
a Perl
On 06/15/2012 04:12 PM, Rommel Sharma wrote:
> I need to intercept and modify the response that is coming from JBOSS to the
> Apache Web (httpd) server and being returned to the client.
Look for PerlOutputFilterHandler in the docs.
Torsten
On 06/13/2012 04:50 AM, Chris Kaltwasser wrote:
> Backtrace:
> Program received signal SIGILL, Illegal instruction.
> 0x00344ba14c30 in _dl_x86_64_save_sse () from
> /lib64/ld-linux-x86-64.so.2
looks like your CPU does not support an instruction the library is
trying to use. Or the lib is corr
On 06/12/2012 03:01 PM, David Levy wrote:
> Hi everyone,
>
> i've start working with mod_perl and perlhandler few weeks ago in a
> folder of my domain (mydomain.com/folder/) and everything was fine.
>
> I've recently tried to set it up on the root of my domain, but now, i've
> got an error 500 wh
read the data. If recv(2)
returns with an error cancel the DB transaction.
If select(2) reports the DB connection ready handle it.
That's the way I'd try it.
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
XML being executed when an
interpreter is shut down. What it waits for here I don't know.
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
via /proc. This is perhaps the
reason why the header was not passed on in the first place.
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
"perl Makefile.PL && make test"
This builds a new module Apache2::HTTPCore which implements one method:
use Apache2::HTTPCore ();
$newtype=$r->make_content_type($type);
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
s. So, STDERR should point to the main
server errorlog.
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
en, naming the handler
Phase::PostConfig::post_config and configuring it as
Phase::PostConfig::handler won't work.
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
%ENV. I don't know. Maybe it segfaults since there is no $r in this
situation.
Would be good if someone could at least setup a test scenario for this case.
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
p://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/include/httpd.h?r1=1204743&r2=1208378
IMHO, we should implement a compatibility function that maps remote_ip() to
client_ip and provide the new structure members independently.
Torsten Förtsch
--
Need professional modperl support? Hire
at MPM
and a perl without ithreads or multiplicity. In that case the part of
modperl_interp.c that is actually compiled is very short (USE_ITHREADS is not
defined).
In short, I didn't get to this point.
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foe
ost tests.
Why do you want to do the same work that I have done last summer again?
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
d modperl will support httpd 2.4. But it requires work
to be done. You can help.
Sorry for the late reply, I was on vacation.
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
ister so we end up last */
if (data) {
apr_pool_cleanup_register(pool, NULL, child_terminate,
apr_pool_cleanup_null);
}
else {
exit(0);
}
return APR_SUCCESS;
}
Torsten Förtsch
--
Need professional modperl support? Hire m
me even simpler:
$r->pnotes->{terminator}=guard {CORE::exit 0};
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
it I'll
have a closer look after my vacation.
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
before doing anything (where XXX is one of url, dir or file).
Would be interesting to see the configuration that triggers it. Can you
provide an as much as possible stripped down configuration that exposes the
bug?
Torsten Förtsch
--
Need professional modperl support? Hire me! (http:
th MP_ASSERT. Then perhaps comes the PerlInterpInitHandler,
PerlInterpExitHandler stuff or the httpd 2.4 port. I also like the
"PerlDeclareInterp fritz ... ... ... PerlUseInterp
fritz" idea. If anybody wants to participate don't hesitate.
Torsten Förtsch
--
Need professional modperl support?
to be perceived significant groupings of the MP_CMD_DIR_*
> cmd's in modperl_cmds.c.
Perhaps something along these lines:
http://perl.apache.org/docs/2.0/user/config/config.html#C_Perl_Handler_
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.na
->{'.upload_hook'}) {
$totalbytes += length($data);
&{$self->{'.upload_hook'}}($filename ,$data, $totalbytes,
$self->{'.upload_data'});
}
print $filehandle $data if ($self->{'use_tempfile'});
}
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
On Thursday, 26 January 2012 13:02:09 Idel Fuschini wrote:
> $f->headers_out->set(Location => $location);
err_headers_out?
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
ficient. Even an internal redirect will do if invoked before the response
phase. (The core response handler calls ap_discard_request_body.)
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
lude response handler.
It turned out to be quite tricky.
Maybe it helps.
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
--- modules/filters/mod_include.c.orig 2011-10-07 14:49:47.461434968 +0200
+++ modules/filters/mod_in
On Monday, 12 December 2011 20:51:12 Jiří Pavlovský wrote:
> I wanted to upgrade my CentOS5 based system to new perl/mod_perl.
> So I build my perl 5.14.2 and mod_perl 2.0.5.
>
> I'm getting segfaults whenever I try to access the server.
If it's worker MPM try trunk.
Tor
";
shift->SUPER::output(@_);
}
-
Now you really rely on an implementation detail of MyClass. Let's hope this
usage of $MyClass::class_level_attribute is documented.
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
Can you reproduce the bug with modperl 2.0.5 or above (trunk)? There is a bug
that has been fixed in 2.0.5 that could course this behavior (I guess).
see http://svn.apache.org/viewvc?view=revision&revision=932875
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
, when Test or Test::More is used in *.t files that does not matter.
But with server based tests in modperl they must work in the same interpreter.
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
56 time=158 ms
1323076536 64 bytes from
www.yandex.ru (77.88.21.3): icmp_seq=3 ttl=56 time=158 ms
1323076537 64 bytes from
www.yandex.ru (77.88.21.3): icmp_seq=4 ttl=56 time=158 ms
1323076537
You see the first few lines come in at the same time. Then between each of the
ping
n't it be better to
allocated an array of tipool->cfg->max pointers? Or perhaps an apr_hash_t
in pconf?
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
p to you to conceive.
http://perl.apache.org/docs/2.0/user/handlers/filters.html
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
red as 2 different things and you get
them out as such.
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
on. One way to
check that is perhaps to allow core dumps in the apache config and then
to send a core dump signal like SEGV, BUS or similar when the process
hangs. Use the dump file then to get a stack trace.
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
prefork because it is our best tested environment.
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
hat it would be applied
are much higher that way. It would also be much easier to review.
Thanks,
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
r sure that the Response phase is run by the
same interpreter as Fixup is. But both interpreters would be clones of the
interpreter pool parent.
Conclusion:
1) As can be seen by the example above httpd can report a return code to
the calling shell only while restart_count==1. Otherwise it has already
$?
15
$ cat xx
die
$ httpd -c 'Include "'$PWD/xx'"'; echo $?
Syntax error on line 2 of /.../xx:
\t(in cleanup) Died at /.../xx line 2.\n
1
$
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
's bug?
This is a design mistake from the very beginning of mp2. We'd all
appreciate if someone would sit down to sort it out.
Patches welcome.
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
wever, since PL_envgv is just a member of the current interpreter I
rather think that in 5.14.1 that thing is not set at this point.
You could try to put a
PERL_SET_CONTEXT(aTHX);
in mod_perl.c:modperl_boot() just before modperl_env_clear(aTHX); is
called.
Torsten Förtsch
--
Need profession
modperl tries to interpret those files as perl code. I don't know TWiki
but I think you should modify the regexp above to match only perl
scripts, something like ".+\.pl". It depends upon your or rather TWiki's
naming conventions.
Torsten Förtsch
--
Need professional modperl s
be pre-populated at startup time.
Note however, that since the config is read only once it can be changed
only by starting up a new interpreter. If that's a problem you can
monitor file modification times for example. If I were you I'd use an
MMapDB object.
Torsten Förtsch
--
then gets it's own perl interpreter. It has been
requested a few times to make it possible to change the interpreter per
request configuration but nobody has got around to do the work yet.
Something along these lines would be good:
PerlSwitches ...
PerlRequire ...
PerlModule ...
PerlSwitches ...
PerlRequire ...
PerlModule ...
PerlUseInterpreter MyInterpreter
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
SetHandler
> perl-script PerlResponseHandler Module::Test
> Please help me with this, Thanks in
> advance.Regards,uttam
Could you please resend the mail with proper line breaks? Otherwise, it's
indecipherable, at least for me.
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
On Friday, 12 August 2011 15:55:46 Marcus Don wrote:
> > Can't locate object method "add_config" via package
> > "Apache2::RequestUtil"
Did you "use Apache2::RequestUtil ();"? For a use case refer to
Apache2::Translation on CPAN.
Torsten Förtsch
ill in $r->filename, $r-
>finfo and perhaps $r->path_info. blocks are applied just
after the maptostorage phase. They cannot be skipped.
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
27;d create a
simple shared scalar as a global counter. If that works (which I think it
does) the rest is how to use threads::shared correctly.
As for your code I think you could try to push shared apples like this
push(@fruits,share('apple'));
Perhaps even
push(@fruits,share
tegy for new development because it gives you maximum
control over what is going on. But that's just my humble opinion.
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
On Friday, 29 July 2011 12:21:49 Mark Fowler wrote:
> t/apache/read3.t
Do you use LWP 6.x? If yes, try the latest LWP 5.
See also http://www.gossamer-threads.com/lists/modperl/dev/103034
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? h
r.
As a remedy it shouldn't hurt much to comment this line out except for
the first request that uses the database. Postgres normally connects
quite fast. So I think it wouldn't be really noticable.
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.
t's not possible queue the work
internally (in $r->connection->pnotes for example) and use a $r-
>connection->pool cleanup handler. That one runs when the connection is
closed. Don't set MaxKeepAliveRequests to 0.
Torsten Förtsch
--
Need professional modperl support? Hir
e sure they use the right
header files and also use the DESTDIR option.
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
nges into mp1. Though, if someone provides patches I think there are
good chances for them to get applied especially if that someone wants to
take care of mp1 in the future and thus become a committer.
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
till run
perl 5.12.
If I were you I'd compile apache and modperl from scratch. Take the SVN
version of modperl. If the test suite reveals something it is a hint
where to dig further. If not try to create a small test case with the
error present and post it here.
Torsten Förtsch
--
Need p
s etc.
Nothing wrong with it. But be careful, the administrator can try to
configure it like:
or
I am not 100% sure but I think $r->location will contain "(something|
special)/" in that case.
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foerts
ink you want to enter the "else if" branch.
Further, make sure the document that is redirected to ends in a
Apache2::Const::OK.
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
t
SetHandler modperl
The response phase is a bit different from the other phases. The
"SetHandler" is needed to make apache call the perl interpreter in the
response phase.
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net
1 - 100 of 237 matches
Mail list logo