Only known issue is
t/filter/in_bbs_inject_header.t
So this is +1 from me.
Fedora 38 with system Perl / httpd (mpm: worker):
Test Summary Report
---
t/filter/in_bbs_inject_header.t (Wstat: 0 Tests: 36 Failed: 3)
Failed tests: 22, 26, 30
Files=245, Tests=2918, 100 wallcl
Tested on Fedora 30 with Apache/2.4.39, looking good to me
That's my +1
On 2019-07-03 3:45 a.m., Steve Hay wrote:
> Please download, test, and report back on this Apache-Test 1.41
> release candidate.
>
> https://dist.apache.org/repos/dist/dev/perl/Apache-Test-1.41-rc1.tar.gz
>
> MD5 = 7933d3a6a
We do not support httpd 2.4 yet.
There is a 2.4 branch in svn that you might want to try, however.
--
Philippe M. Chiasson
On 2013-04-05, at 10:46 PM, Bruce Pettyjohn wrote:
> Fred,
>
> Just tried to compile and ran into some trouble here.
>
>
> chmod 755 ../../../blib
->dump;
To the bottom of your httpd.conf, so see what gets dumped ?
Also, it would greatly help if you could post a complete example
httpd.conf (even if simplified) that demonstrates the problem you are
having.
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
signature.asc
Description: OpenPGP digital signature
is for a whirl and report back +/- 1. I've got this
> version running in all my production environments currently.
>
> http://people.apache.org/~phred/mod_perl-2.0.5-rc2.tar.gz
All good on OS X 10.6:
perl, v5.10.0 built for darwin-thread-multi-2level
Server version: Apache/2.2.15
ve filesystem.
OS X 10.6 Snow Leopard:
All tests successful, 2 tests skipped.
Files=13, Tests=39, 5 wallclock secs ( 2.29 cusr + 0.55 csys = 2.84 CPU)
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org
oprely.
Keep in mind that r->location is not an httpd api, but rather something
convenient mod_perl tracks. But not in this case, unfortunately.
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
signature.asc
Description: OpenPGP digital signature
he2::Layout module compiles, but the test results in core dumps.
> Is this module compatible with apache 2.2.x ?
It should be, if something core dumps, that's not good. Can you provide
more debugging information ?
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
1-rc2.test/blib/lib/Apache/Test.pm 2010-02-09
13:21:39.0 -0500
+++ Apache-Test-1.31-rc2/blib/lib/Apache/Test.pm2010-02-09
21:27:47.0 -0500
@@ -348,7 +348,7 @@
}
sub need_cgi {
-return _need_multi(qw(cgi cgid));
+return _need_multi(qw(cgi.c cgid.c));
}
--
Philippe M
Yes. and mod_python, IIRC, has such a mechanism. Might be worth
implementing, if there is a use for it.
> But how about using several apache instances and a mod_proxy-based proxy in
> front to pass the requests to the appropriate instance? This can be
> implemented without patch
's being double-freed, looks like.
Also, you can just try and run your test case with MOD_PERL_TRACE='g' in
your environment ? It turns on global handling debugging output.
error_log would contain information about what is going on in more details.
--
Philippe M. Chiasson G
in my
> perl code is triggering the error, in which case I could work around
> it. Should I continue to pursue recompiling mod_perl2 and possibly
> perl itself with more debugging turned on?
Most certainly, yes. A stack trace without debugging symbols is not
very useful in trying
lter run-time
configuration on a per-request basis. This comes at a non-negligable
performance impact, if that's important to your usage scenario.
Ideally, like in the server_admin() case outlined above, mpm-itk
could/should expose an API to allow for changing the userid/domain.
You could try
like
$r->server->server_hostname;
$r->server->server_admin('ju...@myperl.com');
Read from here:
<http://perl.apache.org/docs/2.0/api/Apache2/ServerRec.html#C_server_admin_>
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
signature.asc
Description: OpenPGP digital signature
built, and with what
arguments?
mod_perl Makefile.PL arguments too. I just upgraded to Snow Leopard, so
I should be able to try and reproduce.
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
> index_test.pl:
>
> our $i;
our ? shouldn't that be my ? our makes that variable a package global,
so it will stick around between requests, just like $some::package::name
would.
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
signature.asc
Description: OpenPGP digital signature
e handler type also resolved the issue...
Yup, in perl-script mode, it does a lot of housekeeping behind the scenes.
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
signature.asc
Description: OpenPGP digital signature
On 17/08/09 21:48 , Philippe M. Chiasson wrote:
> On 17/08/09 19:54 , James Smith wrote:
>>
>> Futher to this I now have a stack trace if that helps anyone point me in
>> the right direction:
>>
>> #0 0x7f17ee936fb1 in strncpy () from /lib/libc.
>
>> Any suggestions on how I debug this... it makes life so much easier if
>> I can handle all requests this way (and it seems to be the apache way)
>>
>> James
>>
>>
>> --
>> The Wellcome Trust Sanger Institute is operated by Genome
On 14/07/09 15:00 , Perrin Harkins wrote:
> On Tue, Jul 14, 2009 at 2:36 PM, Philippe M.
> Chiasson wrote:
>> On a gracefull restart, all perl interpreters are shutdown and new,
>> clean ones replace them, reloading any module you configure for preloading.
>
> I d
get the apache parent
> to read the new version of Foo.pm?
Yes, it should work that way.
On a gracefull restart, all perl interpreters are shutdown and new,
clean ones replace them, reloading any module you configure for preloading.
--
Philippe M. Chiasson GPG: F9BFE0C2480E7
ssful.
Files=3, Tests=13, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.40 cusr
0.06 csys = 0.50 CPU)
Result: PASS
+1
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
signature.asc
Description: O
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 26/06/09 15:55 , Perrin Harkins wrote:
> On Thu, Jun 25, 2009 at 5:51 PM, Anthony R Fletcher wrote:
>> I have a mod_perl 2 module, running in Apache 2.2,
>>
>> -
>> package Apache2::;
>>
>> use 5;
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 25/06/09 17:51 , Anthony R Fletcher wrote:
> I have a mod_perl 2 module, running in Apache 2.2,
>
> -
> package Apache2::;
>
> use 5;
> use strict;
>
> use Apache2::Const -compile => qw(DECLINED
exec"'
> '-DSHARED_CORE_DIR="/usr/local/apache/libexec"'
> '-DDEFAULT_PIDLOG="logs/httpd.pid"'
> '-DDEFAULT_SCOREBOARD="logs/httpd.scoreboard"'
> '-DDEFAULT_LOCKFILE="logs/httpd.lock"' '-DDEF
pers/dummy helpers/dummy.c -lm -Wl,-E -L/usr/local/lib
> -L/usr/lib/perl/5.10/CORE -lperl -ldl -lm -lpthread -lc -lcrypt
Have you tried running that cc command directly and see what happens ?
Sounds like the compiler is failing and we are not capturing the reason somehow.
--
Philippe M. Ch
ng $r->subprocess_env ?
http://perl.apache.org/docs/2.0/api/Apache2/RequestRec.html#C_subprocess_env_
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
signature.asc
Description: OpenPGP digital signature
related conferences this year?
Not likely, no.
> 3) What mod_perl related topics would you be interested in hearing talks
> about?
I am personally interested in new/wacky things done with mod_perl, serious
internals/guts stuff as well as possible future directions.
--
Philippe M. C
for stuff like this,
give it a look.
Otherwise, nice solution! Especially if coded under the gun ;-)
Gozer out.
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
signature.asc
Description: OpenPGP digital signature
v ]
Patch to mod_perl.dsp to remove /D _WINSOCK2API_ on Win32
for perl >= 5.8.6 [Steve Hay]
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
signature.asc
Description: OpenPGP digital signature
fault when running with perl >= 5.9.3
[Steve Hay]
Fix shared libary extensions on Win32 to be .dll not .so
[Nikolay Ananiev ]
Patch to mod_perl.dsp to remove /D _WINSOCK2API_ on Win32
for perl >= 5.8.6 [Steve Hay]
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88
a
> workaround is one exists.
Looks sensible to me. The only issue I could see is if APR_WRITE was
addeed at some point somewhat recently, and this change would break
against older APRs. Might need a version check of some sort.
Otherwise, +1
--
Philippe M. Chiasson GPG: F9BFE0C24
wn is if you could boil down
your application
to a small enough test case that you could share it with us.
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
signature.asc
Description: OpenPGP digital signature
t was
making heavy use of rand() to generate unique tokens, and was finding itself
encountering a lot of duplicates, as each child process was starting at the
same exact random seed via a single srand() call from a PerlRequire'd file.
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631C
On 2/4/09 23:35, David E. Wheeler wrote:
> On Apr 2, 2009, at 7:29 PM, Philippe M. Chiasson wrote:
>
>> Now that I've had a chance to look into this, I swear I've debugged
>> this
>> problem before, and I just can't find trace of it, or no patches.
&g
On 2/4/09 22:29, Philippe M. Chiasson wrote:
> On 2/4/09 15:11, David E. Wheeler wrote:
>> On Apr 2, 2009, at 10:42 AM, Philippe M. Chiasson wrote:
>>
>>> The mod_perl 1.31 release candidate 7 is ready. It can be downloaded
>>> here:
>>>
>>>
On 2/4/09 15:11, David E. Wheeler wrote:
> On Apr 2, 2009, at 10:42 AM, Philippe M. Chiasson wrote:
>
>> The mod_perl 1.31 release candidate 7 is ready. It can be downloaded
>> here:
>>
>> http://www.apache.org/~gozer/mp1/mod_perl-1.31-rc7.tar.gz
>
>
teve Hay]
Fix shared libary extensions on Win32 to be .dll not .so
[Nikolay Ananiev ]
Patch to mod_perl.dsp to remove /D _WINSOCK2API_ on Win32
for perl >= 5.8.6 [Steve Hay]
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(
d_perl-1.31-rc6/lib:
> make)
> make[1]: *** No rule to make target `libperl.so', needed by `lib'.
> Stop.
> make: *** [apxs_libperl] Error 2
> benedict% make
> (cd ./apaci && PERL5LIB=/Users/david/Downloads/mod_perl-1.31-rc6/lib:
> make)
> make[1]:
for darwin-thread-multi-2level
$> uname -a
Darwin shenlong 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST
2008; root:xnu-1228.9.59~1/RELEASE_I386 i386 i386
Looks very good to me.
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
signature.asc
Description: OpenPGP digital signature
late.c:
/* some browsers might have problems, so set no-gzip
* (with browsermatch) for them
*/
if (apr_table_get(r->subprocess_env, "no-gzip")) {
ap_remove_output_filter(f);
return ap_pass_brigade(f->next, bb);
}
Give it a try, this is untested!
--
fault when PerlFreshRestart is On.
[Michael Rendell ]
Prevent segfault when running with perl >= 5.9.3
[Steve Hay]
Fix shared libary extensions on Win32 to be .dll not .so
[Nikolay Ananiev ]
Patch to mod_perl.dsp to remove /D _WINSOCK2API_ on Win32
for perl >= 5.8.6 [Steve Hay]
--
Philippe
perl.dsp to remove /D _WINSOCK2API_ on Win32
for perl >= 5.8.6 [Steve Hay]
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
signature.asc
Description: OpenPGP digital signature
urn $RETVAL
> }
>
>
> I think I got just about everything needed to get a coredump, but
> nothing shows up in /var/cores, despite many segfaults in the logs.
>
> Anything I've missed?
Selinux enabled ?
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
signature.asc
Description: OpenPGP digital signature
you are unloading 'v' and reloading 'u', probably not
what was intended.
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
did
in c. What is the proper path here?
David Ihnen
Perl Programmer
Norchem Laboratories, Inc
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
L, so it's something
len is VERY large.
So my guess is that SV *type might be somewhat corrupt and causing
APR to just try and allocate way too much memory (or too litle, -123)
Any chance you could build a debugging mod_perl-2 and catch this in
gdb ?
If so, it's just a matter of
gdb> display locals
in frame #2
to figure out what the value of val and len is.
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
signature.asc
Description: OpenPGP digital signature
ling that statement into a single line...
I don't have time to look much into this, but I've attached a patch to the test
case that illustrates the problem, in case anybody else want to have a shot at
this.
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http:/
h_handlerrs(...)
Or you can do it in your command handler, but like so
sub MyLogHandler {
[...]
}
sub MyNewDirective {
my ($self, $param, $arg) = @_;
$parms->add_config(["PerlLogHandler MyLogHandler"]);
[...]
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
it solves to problem and doesn't create new ones, checkin the new
external definition.
I've dealt with 3rd packages in this way plenty, and it works.
Anyhting terribly obvious I am missing here ?
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectopla
Steve Hay wrote:
Philippe M. Chiasson wrote:
The mod_perl 1.31 release candidate 4 "Works with Perl 5.10" is
ready. It can be downloaded here:
http://www.apache.org/~gozer/mp1/mod_perl-1.31-rc4.tar.gz
All tests OK using VC6 on WinXP with apache 1.3.39 and perl 5.10.0 bui
Mark Blackman wrote:
On 17 Apr 2008, at 07:46, Philippe M. Chiasson wrote:
Mark Blackman wrote:
On 16 Apr 2008, at 10:24, Mark Blackman wrote:
On 16 Apr 2008, at 08:42, Philippe M. Chiasson wrote:
Can you try this simple patch and see if it makes your troubles
go away.
It does indeed have
e a known issue...
Mixed up with the mp1 RC I believe. This problems seems like news to me ;-(
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
signature.asc
Description: OpenPGP digital signature
ucci <[EMAIL PROTECTED]>]
-march=pentium4 or anything with an = in it in CCFLAGS or @ARGV
that gets passed to xs/APR/APR/Makefile.PL broke the @ARGV
parsing. I.E. FreeBSD port builds when users had CPUTYPE
set in /etc/make.conf.
[Philip M. Gollucci <[EMAIL PROTECTED]>]
F
Mark Blackman wrote:
On 16 Apr 2008, at 10:24, Mark Blackman wrote:
On 16 Apr 2008, at 08:42, Philippe M. Chiasson wrote:
Can you try this simple patch and see if it makes your troubles go
away.
It does indeed have the desired effect of getting $$ reset to the
child pid by the time the
Apache2::RequestUtil;
my $r = Apache2::RequestUtil->request
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
signature.asc
Description: OpenPGP digital signature
+ NULL, NULL, MODPERL_HOOK_REALLY_REALLY_FIRST);
modperl_register_handler_hooks();
}
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
signature.asc
Description: OpenPGP digital signature
'Refer to the mod_perl 2.0 startup process section
section for details' should be enough, should'nt it?
Yes, and Yes! Thanks a lot, corrected.
Committed revision 646691.
Ended up linking to
http://perl.apache.org/docs/2.0/user/handlers/server.html#mod_perl_Startup
/TEST -run -v t/perlrun_extload
And post the verbose output. Also, is there anything in
ModPerl-Registry/t/log/error_log that's
possibly relevant ?
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
signature.asc
Description: OpenPGP digital signature
n handlers tell which phase they are currently in?
ModPerl::Util::current_callback()
http://perl.apache.org/docs/2.0/api/ModPerl/Util.html#C_current_callback_
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectop
of the input brigade until you can figure out what you want to do, and if
you want to pass it all thru, you reinsert what you read back in the brigade,
remove yourself completely from the filter chain, and pass it up.
That's should be fairly easy.
--
Philippe M. Chiasson G
is happy.
yeah, that's the way you'll need to do it... if you care about those
reports :)
you can probably assume that if the user has ModPerl::MM that
Apache-Test is available.
Wouldn't that be a bogus assumption? Better off to assume mod_perl2.pm means
ModPerl::MM is
Philippe M. Chiasson wrote:
Ryan Gies wrote:
What causes $s->protocol() to return the string "INCLUDED"?
SSI includes / mod_include
Take that back, I am wrong. It's set by the subrequest mechanism, so it
will be set for internal sub-requests.
An SSI virtual include:
Ryan Gies wrote:
What causes $s->protocol() to return the string "INCLUDED"?
SSI includes / mod_include
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
signature.asc
Descrip
M. Gollucci <[EMAIL PROTECTED]>]
Fixes to get bleed-ithread (5.9.5+) to comile again.
[Philip M. Gollucci <[EMAIL PROTECTED]>]
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
signature.asc
Description: OpenPGP digital signature
Patch to mod_perl.dsp to remove /D _WINSOCK2API_ on Win32
for perl >= 5.8.6 [Steve Hay]
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
signature.asc
Description: OpenPGP digital signature
has a
apache1 running with mod_perl 1, so I need this to work concurrently.
Any ideas? Thank you for your help.
Sounds to me like you've got an issue with having tried to install
mod_perl 1 and mod_perl 2 in the same perl tree, that's not supported.
--
Philippe M. Chiasson GPG: F
Niko Tyni wrote:
On Mon, Mar 10, 2008 at 10:53:54PM -0700, Philippe M. Chiasson wrote:
Niko Tyni wrote:
We're switching to Perl 5.10 in Debian soon, and I'm trying to update the
mod_perl2 package to keep it working. Unfortunately the ModPerl-Registry
test suite is failing on
Mag Gam wrote:
I get," The account is not currently available."
That account has a disabled shell
$> su apache -s `which sh` -c '/bin/ls /tmp/.s.PGSQL.5432'
Look at the permissions on both /tmp and /tmp/.s.PGSQL.5432
$> ls -ld /tmp
$> ls -l /tmp/.s.PGSQL.
osgreSQL named pipe: /tmp/.s.PGSQL.5432
$> su apache -c '/bin/ls /tmp/.s.PGSQL.5432'
Should give you an idea what's up.
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
signature.asc
Description: OpenPGP digital signature
Niko Tyni wrote:
On Mon, Mar 10, 2008 at 12:06:54AM -0700, Philippe M. Chiasson wrote:
Niko Tyni wrote:
We're switching to Perl 5.10 in Debian soon, and I'm trying to update the
mod_perl2 package to keep it working. Unfortunately the ModPerl-Registry
test suite is failing on
/* note: this is the real function after @ISA lookup */
handler->mgv_cv = modperl_mgv_compile(aTHX_ p, HvNAME(GvSTASH(gv)));
modperl_mgv_append(aTHX_ p, handler->mgv_cv, handler_name);
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.or
rns will
be treated as an error, and the request will abort and report that particular
error.
[1] http://perl.apache.org/docs/2.0/user/handlers/intro.html#Stacked_Handlers
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(ap
Fix shared libary extensions on Win32 to be .dll not .so
[Nikolay Ananiev <[EMAIL PROTECTED]>]
Patch to mod_perl.dsp to remove /D _WINSOCK2API_ on Win32
for perl >= 5.8.6 [Steve Hay]
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/
with
mod_perl yet" directive.
That's pretty much correct, for the threaded case.
trunk/ should be working just fine on prefork now, more testing of this
fact would certainly be welcome.
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.or
multi-64-ld
/digibib/tools/lib/perl5/5.10.0
/digibib/tools/lib/perl5/site_perl/5.10.0/sun4-solaris-thread-multi-64-ld
/digibib/tools/lib/perl5/site_perl/5.10.0
/digibib/tools/lib/perl5/site_perl/5.8.8
/digibib/tools/lib/perl5/site_perl
.
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
signature.asc
Description: OpenPGP digital signature
kgerbasi wrote:
Philippe M. Chiasson wrote:
kgerbasi wrote:
I am currently upgrading our Apache server from 1.3 to 2.2 and I'm
encountering the following error when I try to start Apache. The config
works ok in 1.3, however in 2.2 I get the following error 'Perl directive
not al
perl directive in a location block?
Not anymore, no.
Can you post a more detailled example of what you are trying to do?
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
signature.asc
Descr
ur handler gets called, just that
the $sock->send() gets buffered incorrectly, and not sent to the client
yet.
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
signature.asc
Description: OpenPGP digital signature
_perl developers are working on resolving the
issues (caused by internal changes in Perl 5.10) right now.
So we both have to wait for mod_perl 2.0.4...
Yes, but mod_perl 2.0.3 and Perl 5.10 should at least _build_, just
possibly exhibit unnatural behaviour at runtime...
--
Philippe M. Chiasson
n what's going on?
Again, sounds like there is something in your httpd tree that isn't getting
digested quite right by your compiler.
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
signature.asc
Description: OpenPGP digital signature
here on Leopard.
All tests successful.
Files=1, Tests=3, 1 wallclock secs ( 0.01 usr 0.00 sys + 0.36 cusr 0.07
csys = 0.44 CPU)
Result: PASS
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)
#x27;REMOTE_ADDR'} - now the handler works again)
I didn't change the code before the error appeared - can the
configuration cause this behavior?
Missing:
use APR::SockAddr ();
somewhere ?
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectopl
le
> _and_ a PerlModule statement for Embperl in your httpd.conf
Really? Any ides what about that triggers a segmentation fault ?
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
signature.asc
D
new way to attach this information
to a CV (I looked around, and nothing jumped at me), or we'll have to switch
to storing this information separate of the CV itself (a cleaner, but
potentially
annoying solution).
So for now, there is not much of a solution, but there will be one!
--
Andreas J. Koenig wrote:
>>>>>> On Tue, 25 Dec 2007 10:47:48 -0800, "Philippe M. Chiasson" <[EMAIL
>>>>>> PROTECTED]> said:
> [...]
>
> From what I can see in the code it can only be "so" but I wonder why I
> do no
Andreas J. Koenig wrote:
>>>>>> On Mon, 24 Dec 2007 15:07:20 -0800, "Philippe M. Chiasson" <[EMAIL
>>>>>> PROTECTED]> said:
>
> >> I then changed directory to apache.../src/modules/perl/ and did a
> >> 'make li
Andreas J. Koenig wrote:
>>>>>> On Mon, 24 Dec 2007 13:12:05 -0800, "Philippe M. Chiasson" <[EMAIL
>>>>>> PROTECTED]> said:
>
> > Looks like it was caused by httpd's own stuff defining LIBEXT and
> clobbering
> > o
Andreas J. Koenig wrote:
>>>>>> On Sat, 22 Dec 2007 13:52:26 +0100, [EMAIL PROTECTED] (Andreas J.
>>>>>> Koenig) said:
>
>>>>>> On Fri, 21 Dec 2007 23:36:53 -0800, "Philippe M. Chiasson" <[EMAIL
>>>>&g
Andreas J. Koenig wrote:
>>>>>> On Sat, 22 Dec 2007 13:52:26 +0100, [EMAIL PROTECTED] (Andreas J.
>>>>>> Koenig) said:
>
>>>>>> On Fri, 21 Dec 2007 23:36:53 -0800, "Philippe M. Chiasson" <[EMAIL
>>>>&g
Andreas J. Koenig wrote:
>>>>>> On Sat, 22 Dec 2007 13:52:26 +0100, [EMAIL PROTECTED] (Andreas J.
>>>>>> Koenig) said:
>
>>>>>> On Fri, 21 Dec 2007 23:36:53 -0800, "Philippe M. Chiasson" <[EMAIL
>>>>&g
Andreas J. Koenig wrote:
>>>>>> On Fri, 21 Dec 2007 23:36:53 -0800, "Philippe M. Chiasson" <[EMAIL
>>>>>> PROTECTED]> said:
>
> > http://www.apache.org/~gozer/mp1/mod_perl-1.31-rc1.tar.gz
>
> Wow, what a fast release, thank
[Steve Hay]
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
signature.asc
Description: OpenPGP digital signature
problem in question, we probably wouldn't need much else
> to apply this patch. I'd try to do this but am overextended on my tuits
> right now.
Yup, without a test case that correctly demonstrates the bug, and a patch
that doesn't break existing tests, not very likely to
ry much so! Thanks a lot.
Committed revision 600439.
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
signature.asc
Description: OpenPGP digital signature
n't load module Apache::RequestRec
>
> I have load just these modules:
> [code]
> PerlModule Apache2::AuthCookieDBI
> PerlModule Apache2::DBI
> PerlModule HTML::Mason::ApacheHandler
> PerlModule Apache2::Request
> PerlModule Config2::IniFiles
> [/code]
>
>
account he/she stole. Then can use them to login straight at the 3 step
of the authentication process with very little work on his/her side.
For a good example of how to avoid some of these pitfalls, check digest
authentication.
http://en.wikipedia.org/wiki/Digest_access_authentication
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
signature.asc
Description: OpenPGP digital signature
urn code is Apache2::Const::OK,
but that also happens to be '0', so returning undef gets converted to 0 when
looked at in numeric context, and it OK.
Anything elss will trigger the error I mentionned.
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http:
so, what are
> the alternatives?
It matters, only OK is a valid return value from that stage. Otherwise,
you'll get this helpfull error message:
[error] Callback 'MyCallback' returned 404, whereas Apache2::Const::OK (0) is
the only valid return value for PerlPostConfigHandler han
there!
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
signature.asc
Description: OpenPGP digital signature
1 - 100 of 369 matches
Mail list logo