cvs commit: modperl-2.0/lib/Bundle - New directory

2003-02-18 Thread stas
stas2003/02/18 16:32:14 modperl-2.0/lib/Bundle - New directory

cvs commit: modperl-2.0 Changes

2003-02-18 Thread stas
stas2003/02/18 16:32:45 Modified:.Changes Added: lib/Bundle Apache2.pm Log: add Apache::Bundle2 Revision ChangesPath 1.1 modperl-2.0/lib/Bundle/Apache2.pm Index: Apache2.pm

cvs commit: modperl-2.0/todo api.txt

2003-02-18 Thread stas
stas2003/02/18 20:07:17 Modified:todo api.txt Log: $uri-rpath is missing from APR::URI Revision ChangesPath 1.33 +3 -0 modperl-2.0/todo/api.txt Index: api.txt === RCS file:

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

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 this to

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: DB10 r scalar context return from CODE(0x8d7101c): - undef

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: DB10 r scalar context return from CODE(0x8d7101c): - undef

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: Perl push

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

Re: Trouble using dir_config for PerlSetVar inside Perl section

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

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 directory

[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^)

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

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: It's a big fuzz :)) To get errno defined it was necessary to comment out include errno.h. 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.

[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 getting

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

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 the

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: [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 have

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] 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:\Backupperl -le warn(qq|foo\n|) foo C:\Backupperl -le 'warn(foo\n)' well, you've got the idea, right. Perhaps someone on win32

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

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 strict; use

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: DB10 r scalar context return from CODE(0x8d7101c): - undef

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't

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-server-server_name; oops, a typo, should

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]

[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: Location /authenticate sethandler perl-script PerlHandler WM::Auth::Auth /Location the handler returns like this: return logon_form($r); logon_form starts like this: sub logon_form { my $r = shift;

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 in

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:\Backupperl -le warn(qq|foo\n|) foo C:\Backupperl -le 'warn(foo\n)'

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: Location /authenticate sethandler perl-script PerlHandler WM::Auth::Auth /Location the handler returns like this: return logon_form($r); logon_form starts like this: sub logon_form { my $r =

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

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:\Backupperl -le warn(qq|foo\n|) foo C:\Backupperl -le 'warn(foo\n)'

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

[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

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:

cvs commit: modperl Changes

2003-02-18 Thread stas
stas2003/02/18 18:38:22 Modified:src/modules/perl perl_config.c .Changes Log: Make sure to start perl, if it's not running, before processing Perl* directives, with threaded perl and PERL_STACKED_HANDLERS=0 Revision ChangesPath 1.115 +9