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
-- 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
[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
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
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
> > 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
>
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
Does anyone know the equivalent directive for
$r->server()->server_hostname()
?
Thanks,
- nick
--
Nick Tonkin {|8^)>
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
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
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
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
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
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
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
>> 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
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
36 matches
Mail list logo