y);" instead of just "use Error;",
or the try blocks will simply do nothing exception-wise. This has
bitten me more than once :)
--
Dominique QUATRAVAUX Ingénieur senior
01 44 42 00 08 IDEALX
pgp0.pgp
Description: PGP signature
es with XS does your application use? RedHat 7.x's
broken DBI package has bitten us a number of times for example
(solution: upgrade it from CPAN), with less than clear backtraces
(just like the one you are getting).
- --
Dominique QUATRAVAUX Ingénieur senior
ot as default 'apache' user.
Hi,
This is not possible from within mod_perl itself, as the Apache
program does not have the necessary privileges to become root. You
have to treat the setuid scripts using mod_cgi instead (maybe place
them in a directory on their own).
Regards,
- --
Domin
annot but take the CGI-and-performance
route when the competition is Java. Still, the techs out there hear
about mod_perl's true powers mostly through hearsay. What about
setting up some tech-oriented wiki to tip the balance backwards for
the rest of us? This would be a great place
atus:
Apache::Request: -
CGI: 3.05
LWP: 5.800
mod_perl : 1.999020
3. This is the core dump trace: (if you get a core dump):
(gdb) bt
#0 0x4030d4d1 in __read_nocancel () from /lib/tls/libpthread.so.0
#1 0x in ?? ()
This report was generated by ./t/REPORT o
then (unsurprisingly) test 2 passes, but 5 and 17 still fail in the
same way as above.
Regards,
- --
Dominique QUATRAVAUX Ingénieur senior
01 44 42 00 08 IDEALX
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Com
),
then (unsurprisingly) test 2 passes, but 5 and 17 still fail in the
same way as above.
Regards,
- --
Dominique QUATRAVAUX Ingénieur senior
01 44 42 00 08 IDEALX
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Com
~ Built under linux
~ Compiled at Dec 23 2004 16:34:22
~ %ENV:
~PERL_LWP_USE_HTTP_10="1"
~ @INC:
~/usr/local/lib/perl/5.6.1
~/usr/local/share/perl/5.6.1
~/usr/lib/perl5
~/usr/share/perl5
~/usr/lib/perl/5.6.1
~/usr/share/perl/5.6.1
~/usr/local/lib/si
bogon left in $PerlConfig will subsequently cause
Apache to abort :-]
Regards,
=
LoadModule perl_module /usr/lib/apache2/modules/mod_perl.so
ServerRoot /tmp
ErrorLog /tmp/log
PidFile/dev/null
TypesConfig/etc/mime.types
Listen 12345
use Apache2;
})] BAD SYNT
, shutting down
END in modperl_extra.pl, pid=12596
- --
Dominique QUATRAVAUX Ingénieur senior
01 44 42 00 08 IDEALX
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
(PeerHost=>"localhost",
~ PeerPort=>$self->select_first_port()));
~}
} # End of package Apache::TempTestConfig
plan tests => 2;
my $config = new Apache::TempTestConfig("runtimeerror");
$config->server_stop();
$confi
2.0.x but some sort of hybrid.
|
If Debian testing turns out to have this problem, I think that the
test should at least be skipped on that distro, otherwise I probably
won't be the last one to report this :-).
Anyway, thanks a lot for your support.
- --
Dominique QUATRAVAUX
er wrote:
| This is caused by a patch that the Debian version applies. I've
| filed a bug report with them to remove it.
Thanks Damon for dealing with the Debian side of things.
| Contact me off-list if you need assistance with this before the
| Debian package is fixed.
Nice of you, but I'
-rdynamic -L/usr/local/lib
- -L/usr/lib/perl/5.6.1/CORE -ldebugperl -ldebugperl
And so DynaLoader.a is gone, and of course the resulting mod_perl.so
doesn't bootstrap.
How can I link with -ldebugperl without manually fiddling with the
Makefile (which I did, and it works gre
pick
| libperld under MP_DEBUG=1.
Check.
- --
Dominique QUATRAVAUX Ingénieur senior
01 44 42 00 08 IDEALX
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enig
lib/perl/5.6.1
/usr/share/perl/5.6.1
/usr/local/lib/site_perl
.
*** Packages of interest status:
Apache::Request: -
CGI: 2.752
LWP: 5.800
mod_perl : 1.26, 1.999021
3. This is the core dump trace: (if you get a core dump):
N/A
This report was generated by ./t/REPORT on Wed Mar 9 11:57:18 2005 GMT.
-8<-- End Bug Report --8<--
--
<< Tout n'y est pas parfait, mais on y honore certainement les jardiniers >>
Dominique Quatravaux <[EMAIL PROTECTED]>
e user's browser (e.g.
pop up the password box), you have to read RFC2616 and RFC2617. Or
just use a pre-existing module from CPAN, mostly forget about all this
and be done in minutes :-)
- --
Dominique QUATRAVAUX Ingénieur senior
01 44 42 00 08
able(aTHX_ p, dcfg);
~ FREETMPS;LEAVE;
~ }
- --
Dominique QUATRAVAUX Ingénieur senior
01 44 42 00 08 IDEALX
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://e
nts, type in the path of your wrapper script followed by a bogus
command-line argument (e.g. "/home/dom/bin/apache-gud mod_perl"). The
debugger should stop at the "$DB::single = 1" line above.
Regards,
- --
Dominique QUATRAVAUX Ingénieur senior
ppose
that Komodo would not work out of the box either.
- --
Dominique QUATRAVAUX Ingénieur senior
01 44 42 00 08 IDEALX
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.
mpiled_handler().
~ # args: $self - registry blessed object
~ # rtrn: nothing
~ # efct: the CODE field gets adjusted
@@ -569,7 +571,7 @@
~ unless ${^TAINT};
~"";
~},
- - 'w' => sub { "use warnings;\n" },
+ 'w' => s
d object
# rtrn: nothing
# efct: the CODE field gets adjusted
@@ -569,7 +571,7 @@
unless ${^TAINT};
"";
},
- 'w' => sub { "use warnings;\n" },
+ 'w' => sub { "use warnings; " },
);
sub rewrite_shebang {
--
-588,7 +589,8 @@
$prepend .= $switches{$_}->();
}
}
-${ $self->{CODE} } =~ s/^/$prepend/ if $prepend;
+
+ return $prepend;
}
#
--
Dominique QUATRAVAUX Ingénieur senior
01 44 42 00 08 IDEALX
pgptbbWrYBLsh.pgp
Description: PGP signature
interim measure:
sub modperl_major_version {
~use DynaLoader ();
~return 1 if DynaLoader::dl_find_symbol_anywhere("XS_Apache_define");
~return 2 if
DynaLoader::dl_find_symbol_anywhere("XS_ModPerl__Util_exit");
~return undef;
}
- --
Dominique QUATRAVAUX
he->server directly
built into mod_perl.so itself, then everything would be lovely. And
while we are at it, we could call it "mod_perl::API_VERSION()" and
have it return a constant number (this would be quite cheap
resource-wise).
Well, I guess I should get
es = (
@@ -572,7 +573,7 @@
'w' => sub { "use warnings;\n" },
);
-sub rewrite_shebang {
+sub shebang_to_perl {
my $self = shift;
my($line) = ${ $self->{CODE} } =~ /^(.*)$/m;
my @cmdline = split /\s+/, $line;
@@ -588,7 +589,8 @@
$prepend .= $switches{$_
###
Index: docs/api/ModPerl/RegistryCooker.pod
===
--- docs/api/ModPerl/RegistryCooker.pod (revision 158046)
+++ docs/api/ModPerl/RegistryCooker.pod (working copy)
@@ -120,9 +120,9 @@
r->print($r->notes->get("test_waz_zere") ? "ok 1\n" :
+ "not ok 1\n");
+Apache2::OK;
+}
+
+1;
+__DATA__
+
+PerlModule TestHooks::inlined_handlers_server_wide
+
+ SetHandler modperl
+ PerlResponseHand
're a GPL shop but we do not
redistribute at large, a bit like what MySQL.com does), but anyway
it's a custom-built thing targeted to WSSO, and you'd be probably
better off starting from scratch or from HTTP::Proxy by Philippe Bruhat.
Regards,
- --
Dominique QUATRAVAUX
cluding
early initialization, and so on.
FEATURE REQUEST: I'd love to get rid of the "use B;" crockery above, e.g.
return mod_perl::version_running() if exists
&mod_perl::version_running();
Best regards and thanks for all the great work!
- --
Dominique QUATRAVAUX
ock as a temporary workaround to be used by
other MP2-related package maintainers out there (esp. Apache::DB -
Pretty please? :), not as a patch suggestion for mod_perl itself.
> Sorry for the late reply on this, managed to get way behind on
> E-mail over the last wee
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Geoffrey Young wrote:
> if $ENV{MOD_PERL} is true you're running under mod_perl.
Sorry to be rude about this, but no. This *needs* fixing.
http://marc.theaimsgroup.com/?l=apache-modperl&m=112005579327997&w=2
- --
Domi
*not* $ENV{MOD_PERL}) would be a second best.
- --
Dominique QUATRAVAUX Ingénieur senior
01 44 42 00 08 IDEALX
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail
n environment variable at program startup! Therefore the
whole $ENV{MOD_PERL} idea very much looks like a bad NCSA-legacy
thinko to me (mimicked from $ENV{GATEWAY_INTERFACE}, which *does*
actually make sense).
- --
Dominique QUATRAVAUX Ingénieur senior
01 44 42 00 08
that eval'able
code only comes to PHP through a trusted channel, that is,
$_SERVER["REDIRECT_FOO"] for well-known values of FOO *ONLY*. Don't
eval stuff from the GET cmdline!
- --
Dominique QUATRAVAUX Ingénieur senior
01 44 42 00 08
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Geoffrey Young wrote:
>
> Dominique Quatravaux wrote:
>
>> $r->subprocess_env() (undocumented but present in mod_perl 1.3
>>
>> $r->internal_redirect() (again undocumented but present in
>> mod_perl 1.3
>
>
36 matches
Mail list logo