Re: Program received signal SIGBUS, Bus error. 0x80b2953 in ap_unescape_url()

2003-02-18 Thread Stas Bekman
Richard Clarke wrote: Stas, Doesn't seem like an apreq problem. It happens in the modperl function. Any chance you can rebuild mod_perl with debug mode enabled (PERL_DEBUG=1), so we can see the arguments and file/linenumbers? See: http://perl.apache.org/docs/1.0/guide/debug.html#PERL_DE

[OT] A call against war (fwd)

2003-02-18 Thread Franck PORCHER
-- Forwarded message -- Date: Tue, 18 Feb 2003 11:44:44 -0500 From: (Undisclosed) To: [EMAIL PROTECTED] Subject: A call against war Friends of all ages, Long ago, there was a time when one had no rights, had to organize his own defense, and couldn't seek justice. This was a time o

Re: Program received signal SIGBUS, Bus error. 0x80b2953 in ap_unescape_url ()

2003-02-18 Thread Richard Clarke
Stas, > Doesn't seem like an apreq problem. It happens in the modperl function. Any > chance you can rebuild mod_perl with debug mode enabled (PERL_DEBUG=1), so we > can see the arguments and file/linenumbers? See: > http://perl.apache.org/docs/1.0/guide/debug.html#PERL_DEBUG_1_Build_Option > Pr

Re: [MP2] Apache::Reload date bug

2003-02-18 Thread Stas Bekman
Randy Kobes wrote: On Wed, 19 Feb 2003, Stas Bekman wrote: Ron Savage wrote: On Tue, 18 Feb 2003 12:56:38 +1100, Stas Bekman wrote: perl -le 'warn("foo\n")' You got the quotes wrong for MS Windows, so I ran it twice: C:\Backup>perl -le "warn(qq|foo\n|)" foo C:\Backup>perl -le 'warn("fo

Re: Program received signal SIGBUS, Bus error. 0x80b2953 in ap_unescape_url()

2003-02-18 Thread Stas Bekman
Richard Clarke wrote: I'm using FreeBSD 4.7 Release. perl 5.6.1 & Mod_Perl/Apache Latest & libapreq 1.1. Doesn't seem like an apreq problem. It happens in the modperl function. Any chance you can rebuild mod_perl with debug mode enabled (PERL_DEBUG=1), so we can see the arguments and file/line

Re: [mp2] send_http_header() can't be called before the responsephase

2003-02-18 Thread Stas Bekman
Nick Tonkin wrote: Hey, I have a handler that is called like this: sethandler perl-script PerlHandler WM::Auth::Auth the handler returns like this: return logon_form($r); logon_form starts like this: sub logon_form { my $r = shift; $r->status(Apache::O

Re: [MP2] Apache::Reload date bug

2003-02-18 Thread Randy Kobes
On Wed, 19 Feb 2003, Stas Bekman wrote: > Ron Savage wrote: > > On Tue, 18 Feb 2003 12:56:38 +1100, Stas Bekman wrote: > > > >>perl -le 'warn("foo\n")' > > > > You got the quotes wrong for MS Windows, so I ran it twice: > > > > C:\Backup>perl -le "warn(qq|foo\n|)" > > foo > > > > C:\Backup>per

Program received signal SIGBUS, Bus error. 0x80b2953 in ap_unescape_url ()

2003-02-18 Thread Richard Clarke
I'm using FreeBSD 4.7 Release. perl 5.6.1 & Mod_Perl/Apache Latest & libapreq 1.1. Program received signal SIGBUS, Bus error. 0x80b2953 in ap_unescape_url () (gdb) bt #0 0x80b2953 in ap_unescape_url () #1 0x8084094 in XS_Apache_unescape_url () #2 0x8102623 in Perl_pp_entersub () #3 0x80fcf4e i

[mp2] send_http_header() can't be called before the response phase

2003-02-18 Thread Nick Tonkin
Hey, I have a handler that is called like this: sethandler perl-script PerlHandler WM::Auth::Auth the handler returns like this: return logon_form($r); logon_form starts like this: sub logon_form { my $r = shift; $r->status(Apache::OK); $r->content

DBI::Auth configuration problem

2003-02-18 Thread Scott Chapman
I'm trying DBI::Auth against a Postgresql database for authentication. It's not working. My postgres debug log shows no activity as well as this error regarding my configuration. I don't know how to debug this. Anyone able to help? Error Log from Apache shows: [Tue Feb 18 16:13:53 2003] [no

Re: [mp2] $r->server->server_hostname() compatibility?

2003-02-18 Thread Nick Tonkin
On Wed, 19 Feb 2003, Stas Bekman wrote: > Nick Tonkin wrote: > > On Wed, 19 Feb 2003, Stas Bekman wrote: > > > > > >>Nick Tonkin wrote: > >> > >>>Does anyone know the equivalent directive for > >>>$r->server()->server_hostname() > >> > >>it's right there: > >> > >>use Apache::Server; > >>$r->serve

Re: [mp2] $r->server->server_hostname() compatibility?

2003-02-18 Thread Stas Bekman
Nick Tonkin wrote: On Wed, 19 Feb 2003, Stas Bekman wrote: Nick Tonkin wrote: Does anyone know the equivalent directive for $r->server()->server_hostname() it's right there: use Apache::Server; $r->server->server_name; oops, a typo, should be: $r->server->server_hostname Well, it doesn

Re: help with Apache::DB

2003-02-18 Thread Stas Bekman
giorgos zervas wrote: hi all, i am using Apache::DB to debug my mod_perl handlers and altough the debugger seems to be working fine it won't display the source code next to the current line being debugged. for example: DB<10> r scalar context return from CODE(0x8d7101c): -> undef Apache::DB::C

Re: [mp2] $r->server->server_hostname() compatibility?

2003-02-18 Thread Nick Tonkin
On Wed, 19 Feb 2003, Stas Bekman wrote: > Nick Tonkin wrote: > > Does anyone know the equivalent directive for > > $r->server()->server_hostname() > > it's right there: > > use Apache::Server; > $r->server->server_name; Well, it doesn't work as advertised, I think. package NPT::MyTest; use stri

Re: Building mod-perl 2 for cygwin

2003-02-18 Thread Stas Bekman
Steve Baldwin wrote: OK, I've rebuilt my perl using the following options ... ./Configure -de -Duse64bitint -Doptimize=-O2 -Dman3ext=3pm (to try to keep as similar as possible to packaged perl, but without the threads stuff). I also tried with simply ./Configure -des With exactly the same res

Re: [MP2] Apache::Reload date bug

2003-02-18 Thread Stas Bekman
Ron Savage wrote: On Tue, 18 Feb 2003 12:56:38 +1100, Stas Bekman wrote: perl -le 'warn("foo\n")' You got the quotes wrong for MS Windows, so I ran it twice: C:\Backup>perl -le "warn(qq|foo\n|)" foo C:\Backup>perl -le 'warn("foo\n")' well, you've got the idea, right. Perhaps someone on w

Re: HELP - Problem installing modperl

2003-02-18 Thread Stas Bekman
Pablo Jejcic wrote: Hello guys, I have just installed PERL/Apache and mod_perl, but this last one gave me an error when I try to compile. Could anyone help me? Thi is the error: bash-2.05# make && make test cd "src/modules/perl" && make -f Makefile.modperl make[1]: Entering directory

Re: [mp2] $r->server_name not working

2003-02-18 Thread Stas Bekman
Nick Tonkin wrote: I have use Apache::RequestRec; use Apache::RequestUtil; [ ... ] $server_name = $r->server_name; This fails with: Can't locate object method "server_name" via package "Apache::RequestRec" (even though server_name() is in RequestUtil ...) I will try to test a bit but I may ha

Re: [mp2] $r->server->server_hostname() compatibility?

2003-02-18 Thread Stas Bekman
Nick Tonkin wrote: Does anyone know the equivalent directive for $r->server()->server_hostname() it's right there: use Apache::Server; $r->server->server_name; __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker

Re: modperl segfault with threaded Perl 5.8

2003-02-18 Thread Stas Bekman
Pavel Hlavnicka wrote: >> Ok, here is a complete backtrace (after a nice couple of hours observing the compilation progress... :) > > > > Can you please share the details of what you have changed, that allowed you to get the args and line numbers/file names? Why didn't you have them in t

Re: [MP2] Apache::Reload date bug

2003-02-18 Thread Ron Savage
On Tue, 18 Feb 2003 12:56:38 +1100, Stas Bekman wrote: >perl -le 'warn("foo\n")' You got the quotes wrong for MS Windows, so I ran it twice: C:\Backup>perl -le "warn(qq|foo\n|)" foo C:\Backup>perl -le 'warn("foo\n")' C:\Backup> -- Cheers Ron Savage, [EMAIL PROTECTED] on 19/02/2003 http://savage

Re: Apache::DBI and mod_perl 2

2003-02-18 Thread Kyle Oppenheim
[EMAIL PROTECTED] wrote: > Any plans to make Apache::FakeRequest work well enough to make this > possible? [EMAIL PROTECTED] wrote: > As for mod_perl 1.0, I'm not sure, but if you can make it useful > that would be cool. A while back Andrew Ho posted his script, apr, that is similar to Apache::Fa

[mp2] $r->server_name not working

2003-02-18 Thread Nick Tonkin
I have use Apache::RequestRec; use Apache::RequestUtil; [ ... ] $server_name = $r->server_name; This fails with: Can't locate object method "server_name" via package "Apache::RequestRec" (even though server_name() is in RequestUtil ...) I will try to test a bit but I may have to focus on gett

Re: problem with mod_perl1.27 & perl5.8/apa1.3.27

2003-02-18 Thread Randy Kobes
On Tue, 18 Feb 2003, Dmitri Dmitrienko wrote: > It's a big fuzz :)) To get errno defined it was necessary to > comment out include . Stupid thing... I believe this is fixed in the cvs mod_perl sources, in particular a change to src/modules/perl/apache_inc.h. Try those to see if that helps. -- b

Re: problem with mod_perl1.27 & perl5.8/apa1.3.27

2003-02-18 Thread Dmitri Dmitrienko
> > Summary of my perl5 (revision 5 version 8 subversion 0) configuration: > > Platform: > > osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread > [ .. ] > > Characteristics of this binary (from libperl): > > Compile-time options: MULTIPLICITY USE_ITHREADS PERL_IMPLICIT_CONTEXT >

Re: problem with mod_perl1.27 & perl5.8/apa1.3.27

2003-02-18 Thread Randy Kobes
On Tue, 18 Feb 2003, Dmitri Dmitrienko wrote: > Summary of my perl5 (revision 5 version 8 subversion 0) configuration: > Platform: > osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread [ .. ] > Characteristics of this binary (from libperl): > Compile-time options: MULTIPLICITY U

[mp2] $r->server->server_hostname() compatibility?

2003-02-18 Thread Nick Tonkin
Does anyone know the equivalent directive for $r->server()->server_hostname() ? Thanks, - nick -- Nick Tonkin {|8^)>

HELP - Problem installing modperl

2003-02-18 Thread Pablo Jejcic
Title: Message Hello guys,     I have just installed PERL/Apache and mod_perl, but this last one gave me an error when I try to compile. Could anyone help me?   Thi is the error:   bash-2.05# make && make testcd "src/modules/perl" && make -f Makefile.modperlmake[1]: Entering director

Re: Trouble using dir_config for PerlSetVar inside Perl section

2003-02-18 Thread Larry Leszczynski
Hi Geoff - > > and this does not work either: > > > > push @{$Location{"/"}->{PerlSetVar}}, ["CFG", "/path/to/file"]; > > $PerlRequire = "startup.pl"; > > > [snip] > > what may be happening is that your dynamic configuration may be putting your > PerlSetVar into a per-direct

Re: modperl on AIX - $LIBPATH problem

2003-02-18 Thread Alistair Mcdonald
Hello all, I've worked out what is going wrong with my AIX system install. I have built a standard perl, then built static DBI and DBD modules (where they are bound into a perl executable). So my script runs from the command line. However, these modules are not ending up in the perl that is us

Re: Trouble using dir_config for PerlSetVar inside Perl section

2003-02-18 Thread Geoffrey Young
Larry Leszczynski wrote: Hi all - I'm having trouble using server->dir_config in my startup.pl to read variables set by PerlSetVar inside a Perl section. I'm using Perl 5.6.1, Apache 1.3.27, and mod_perl 1.27. [snip] and this does not work either: push @{$Location{"/"}->{PerlSetV

help with Apache::DB

2003-02-18 Thread giorgos zervas
hi all, i am using Apache::DB to debug my mod_perl handlers and altough the debugger seems to be working fine it won't display the source code next to the current line being debugged. for example: DB<10> r scalar context return from CODE(0x8d7101c): -> undef Apache::DB::CODE(0x8d7101c)(/usr/loc

help with Apache::DB

2003-02-18 Thread giorgos zervas
hi all, i am using Apache::DB to debug my mod_perl handlers and altough the debugger seems to be working fine it won't display the source code next to the current line being debugged. for example: DB<10> r scalar context return from CODE(0x8d7101c): -> undef Apache::DB::CODE(0x8d7101c)(/usr/loc

RE: Building mod-perl 2 for cygwin

2003-02-18 Thread Steve Baldwin
OK, I've rebuilt my perl using the following options ... ./Configure -de -Duse64bitint -Doptimize=-O2 -Dman3ext=3pm (to try to keep as similar as possible to packaged perl, but without the threads stuff). I also tried with simply ./Configure -des With exactly the same result. Now, make (of mo

Re: modperl segfault with threaded Perl 5.8

2003-02-18 Thread Pavel Hlavnicka
>> Ok, here is a complete backtrace (after a nice couple of hours observing the compilation progress... :) > > > > Can you please share the details of what you have changed, that allowed you to get the args and line numbers/file names? Why didn't you have them in the original report (I want th

Re: problem with mod_perl1.27 & perl5.8/apa1.3.27

2003-02-18 Thread Dmitri Dmitrienko
Summary of my perl5 (revision 5 version 8 subversion 0) configuration: Platform: osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef usethreads=undef use5005threads=undef useithreads=defi