cvs commit: modperl-2.0/xs/APR/OS APR__OS.h

2002-05-22 Thread dougm
dougm 02/05/22 09:30:14 Added: xs/APR/OS APR__OS.h Log: wrapper for apr_os_thread_current() Revision ChangesPath 1.1 modperl-2.0/xs/APR/OS/APR__OS.h Index: APR__OS.h === static

cvs commit: modperl-2.0/xs/tables/current/ModPerl FunctionTable.pm

2002-05-22 Thread dougm
dougm 02/05/22 09:30:40 Modified:t/apr.cvsignore xs/maps apr_functions.map apr_types.map xs/tables/current/ModPerl FunctionTable.pm Log: add APR::OS::thread_current function Revision ChangesPath 1.5 +1 -0

cvs commit: modperl-2.0/t/response/TestAPR os.pm

2002-05-22 Thread dougm
dougm 02/05/22 09:31:05 Added: t/response/TestAPR os.pm Log: add test for APR::OS::thread_current Revision ChangesPath 1.1 modperl-2.0/t/response/TestAPR/os.pm Index: os.pm ===

cvs commit: modperl-2.0/lib/Apache Build.pm

2002-05-22 Thread dougm
dougm 02/05/22 19:35:19 Modified:.Makefile.PL lib/Apache Build.pm Log: on hpux with bleedperl $Config{ld} is the fullpath, strip to the basename Revision ChangesPath 1.84 +2 -1 modperl-2.0/Makefile.PL Index: Makefile.PL

cvs commit: modperl-2.0/lib/Apache compat.pm

2002-05-22 Thread dougm
dougm 02/05/22 20:10:18 Modified:lib/Apache compat.pm Log: add noop stubs for timeout functions removed from 2.0: $r-{soft,hard,reset,kill}_timeout Revision ChangesPath 1.46 +6 -0 modperl-2.0/lib/Apache/compat.pm Index: compat.pm

cvs commit: modperl-2.0/src/modules/perl modperl_callback.c

2002-05-22 Thread dougm
dougm 02/05/22 22:55:35 Modified:src/modules/perl modperl_callback.c Log: prevent possible segv with method handlers? Revision ChangesPath 1.50 +6 -1 modperl-2.0/src/modules/perl/modperl_callback.c Index: modperl_callback.c

Re: GTop

2002-05-22 Thread Ilya Martynov
On Tue, 21 May 2002 19:57:35 -0500, Gregory Matthews [EMAIL PROTECTED] said: GK [..snip..] GK My glib-config directory is /usr/local/bin and the name of the actual GK file is glib12-config. GK How can I tell GTop where this file is and what the actual file name GK is? Don't ask me why my

Re: #perl SSI directive not recognised

2002-05-22 Thread Alan Burlison
Doug MacEachern wrote: the #perl directive is disabled if modperl is built as dso, Makefile.PL prints a message about this. won't be an issue with 2.0 thanks to apr optional functions. but in 1.x, the modperl .so cannot resolve symbols from mod_include.so. at least, it can't on all

Re: compile time errors

2002-05-22 Thread m31
Jie Gao wrote: On Tue, 21 May 2002, m31 wrote: I'm sorry (i wass in a rush), the errors come up when I run make test, the `perl Makefile.pl` works fine. (on OSX 10.1.4 (Darwin 5.4), Perl/5.6.0, mod_perl/1.25, apache/1.3.23) $ make test ...some more stuff /usr/bin/perl t/TEST 0

Re: compile time errors

2002-05-22 Thread Stas Bekman
m31 wrote: Jie Gao wrote: On Tue, 21 May 2002, m31 wrote: I'm sorry (i wass in a rush), the errors come up when I run make test, the `perl Makefile.pl` works fine. (on OSX 10.1.4 (Darwin 5.4), Perl/5.6.0, mod_perl/1.25, apache/1.3.23) $ make test ...some more stuff

Re: What causes memory leaks during graceful restarts?

2002-05-22 Thread Dan Wilga
At 6:56 PM -0700 5/21/02, Doug MacEachern wrote: On Tue, 21 May 2002, Dan Wilga wrote: I am using Perl 5.6.1, modperl 1.25, and yes it's a DSO. It's compiled with: with 1.25, you can also set the PERL_DESTRUCT_LEVEL environment variable to 2, either before starting the server: export

[OT] Re: Image::Size, TT, and mod_perl Question

2002-05-22 Thread Ken Y. Clark
On Tue, 21 May 2002, Mike Melillo wrote: Hey, Mikey! Date: Tue, 21 May 2002 23:28:29 -0400 From: Mike Melillo [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Image::Size, TT, and mod_perl Question I posed this question to the Template Toolkit list and got no response, so I figured I'd

Re: What causes memory leaks during graceful restarts?

2002-05-22 Thread Doug MacEachern
On Wed, 22 May 2002, Dan Wilga wrote: Interesting. When I do that, I get the same problem I did when I tried to run with 1.25_01 and 1.26: Apache core dumps. I think I'll have to try compiling it again with the latest version of mod_perl, and perhaps not as a DSO. possible that your are

Re: #perl SSI directive not recognised

2002-05-22 Thread Doug MacEachern
On Wed, 22 May 2002, Alan Burlison wrote: Thanks Doug. I'm using the Apache/perl/mod_perl that will ship as part of Solaris 9, so I was a little concerned that we'd screwed something up :-) maybe solaris 9 should include 2.0 instead ;-) From your description, I'm guessing that the root

Re: What causes memory leaks during graceful restarts?

2002-05-22 Thread Dan Wilga
At 8:41 AM -0700 5/22/02, Doug MacEachern wrote: On Wed, 22 May 2002, Dan Wilga wrote: Interesting. When I do that, I get the same problem I did when I tried to run with 1.25_01 and 1.26: Apache core dumps. I think I'll have to try compiling it again with the latest version of mod_perl,

Parse::RecDescent under mod_perl

2002-05-22 Thread Praveen Ray
Hi I Can't get this module to run under mod_perl. I have installed this module on my machine and the script when called from command line works fine. But When called from within Apache from a mod_perl script, it fails to instantiate Parse::RecDescent Module. I wrapped the

Reloading Modules

2002-05-22 Thread Ted Prah
Hi again, I'm having trouble seeing module changes when I reload a script that uses it. I'm using Apache::Reload and my test script/module is as follows: test.pl #!/usr/local/bin/perl use strict; use warnings; use My::Test qw(:subs); print Content-type:

How to proxy everything except selected urls?

2002-05-22 Thread Ken Miller
I the past, when I've setup a proxy/app server configuration, it's always been to forward certain url's to the app server, with the rest being processed by the proxy. However, I need to turn this around. I want to pass everything to the app server, except for some url's that point at static

login.pl not sending cookies via POST?

2002-05-22 Thread Brian Reichert
I have tried two different Apache::AuthCookie subclasses: Apache::AuthTicket 0.31 Apache::AuthCookieDBI 1.18 Apache::AuthCookie comes with an example login.pl, as well as does Apache::AuthCookieDBI. The symptom I was seeing: my browser would submit the form generated by login.pl: [Wed

Re: How to proxy everything except selected urls?

2002-05-22 Thread Randal L. Schwartz
Ken == Ken Miller [EMAIL PROTECTED] writes: Ken I initially thought something like this would work: Ken --- Ken ProxyPass On Ken ProxyPass / http://other.server.com:1234/ Ken ProxyPassReverse / http://other.server.com:1234/ Ken alias

Re: How to proxy everything except selected urls?

2002-05-22 Thread Issac Goldstand
Ken Miller wrote: I the past, when I've setup a proxy/app server configuration, it's always been to forward certain url's to the app server, with the rest being processed by the proxy. However, I need to turn this around. I want to pass everything to the app server, except for some url's that

Cannot build mod_perl 2 on Win32: Linking problems

2002-05-22 Thread Joe Yates
I have Apache/2.0.36 mod_perl/1.99_02-dev Perl/v5.7.3 and am using nmake. Apache2 is installed (and working) in C:\Apache2\bin I built both perl and Apache from sources. My makefile.pl command line is: perl makefile.pl MP_AP_PREFIX=C:\Apache2 I'm getting

Apache::DBI connection cache

2002-05-22 Thread Ask Bjoern Hansen
Apache::DBI is turning the argument hashref into the cache key with the following code, my ($key, $val); while (($key,$val) = each %{$args[3]}) { $Idx .= $;$key=$val; } can anyone think of a good reason not to change that to something like map { $Idx .=

Re: Apache::DBI connection cache

2002-05-22 Thread Perrin Harkins
Ask Bjoern Hansen wrote: Apache::DBI is turning the argument hashref into the cache key with the following code, my ($key, $val); while (($key,$val) = each %{$args[3]}) { $Idx .= $;$key=$val; } can anyone think of a good reason not to change that to

Re: Apache::DBI connection cache

2002-05-22 Thread Ask Bjoern Hansen
On Wed, 22 May 2002, Perrin Harkins wrote: Apache::DBI is turning the argument hashref into the cache key with the following code, [...] can anyone think of a good reason not to change that to something like map { $Idx .= $;$_=$args[3]-{$_} } sort keys %{$args[3]}; Good find.

Re: #perl SSI directive not recognised

2002-05-22 Thread Doug MacEachern
On Wed, 22 May 2002, Alan Burlison wrote: I have another little problem I'm trying solve, which will be really neat if I can get it to work. You may or may not know that Solaris has a fair share scheduler, which means you can limit the total proportion of CPU that a particular user can

Re: Apache::DBI connection cache

2002-05-22 Thread Geoffrey Young
Ask Bjoern Hansen wrote: Apache::DBI is turning the argument hashref into the cache key with the following code, my ($key, $val); while (($key,$val) = each %{$args[3]}) { $Idx .= $;$key=$val; } can anyone think of a good reason not to change that to

Re: What causes memory leaks during graceful restarts?

2002-05-22 Thread Doug MacEachern
On Wed, 22 May 2002, Dan Wilga wrote: Oh ho! That's it. Now when I gracefully restart, the memory loss is only about 29 Kb -- a very reasonable number. much better. with the modperl test suite, i only see a wee bit of leakage on the first restart, then no leakage on restarts after that.

Re: Cannot build mod_perl 2 on Win32: Linking problems

2002-05-22 Thread Doug MacEachern
On Thu, 23 May 2002, Joe Yates wrote: Perl/v5.7.3 what does your perl -V say ? never tried the released version of 5.7.3 on win32, but i've been rsync-ing perl-current which compiles/links and passes all test. rsync.exe -auvz --delete rsync://ftp.linux.activestate.com/perl-current/

Re: compatibility problem

2002-05-22 Thread Jie Gao
On Mon, 20 May 2002, Doug MacEachern wrote: On Fri, 17 May 2002, Jie Gao wrote: use Apache::Constants qw(:common :response M_GET M_POST AUTH_REQUIRED REDIRECT); the :response group in 1.x consists of names which apache has deprecated in 1.3.x and removed in 2.0, for which there are HTTP_*

Re: Patch to mod_perl 1.26: error-notes support

2002-05-22 Thread Doug MacEachern
thanks, i've applied a variation of your patch to cvs and will be in 1.27 if anybody wants to work up a similar patch for Apache::PerlRun, that'd be nice too. On Fri, 12 Apr 2002, Jesse Erlbaum wrote: Hello Doug All -- One of my programmers (Dave Kaufman) brought to my attention a small

Re: compatibility problem

2002-05-22 Thread Doug MacEachern
On Thu, 23 May 2002, Jie Gao wrote: and make test says BAD_GATEWAY is not exported by Apache::Constants. are you actually using that constant? i only was using it as an example. Also perl-status doesn't seem to be functioning: Apache::Status doesn't work with 2.0 yet. I am also

Re: compatibility problem

2002-05-22 Thread Doug MacEachern
On Wed, 22 May 2002, Doug MacEachern wrote: On Thu, 23 May 2002, Jie Gao wrote: and make test says BAD_GATEWAY is not exported by Apache::Constants. are you actually using that constant? i only was using it as an example. if you are, you need to change it to HTTP_BAD_GATEWAY. one

Re: compatibility problem

2002-05-22 Thread Doug MacEachern
On Wed, 22 May 2002, Doug MacEachern wrote: Apache::Status doesn't work with 2.0 yet. actually, it kinda does after added SERVER_VERSION to Apache::compat. Enabled mod_perl Hooks does not work, nor does Compiled Registry Scripts, but everything else seems to.

Re: compatibility problem

2002-05-22 Thread Jie Gao
On Wed, 22 May 2002, Doug MacEachern wrote: On Thu, 23 May 2002, Jie Gao wrote: I am also getting: [Thu May 23 14:11:45 2002] [notice] child pid 32213 exit signal Segmentation fault (11) when running my 1.3 module. I couldn't find any coredump, though. Anyone can help?

Re: DSO on Solaris - child dies with seg fault

2002-05-22 Thread Doug MacEachern
On Sun, 14 Apr 2002, Sreeji K Das wrote: Hi Stas, Thanx for the reply. However, I had already read the doc. and done everything mentioned there. I had recompiled perl with -Ubincompat5005 as mentioned. wondering if this is the XSLoader vs DynaLoader mentioned earlier today. there is a

Re: compatibility problem

2002-05-22 Thread Doug MacEachern
On Thu, 23 May 2002, Jie Gao wrote: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 15349)] 0x4031575d in modperl_mgv_lookup (symbol=0x0) at modperl_mgv.c:134 134 if (!symbol-hash) { (gdb) bt #0 0x4031575d in modperl_mgv_lookup (symbol=0x0) at

cvs commit: modperl/lib/Apache ExtUtils.pm

2002-05-22 Thread dougm
dougm 02/05/22 19:44:40 Modified:.Makefile.PL lib/Apache ExtUtils.pm Log: on hpux with bleedperl $Config{ld} is the fullpath, strip to the basename Revision ChangesPath 1.200 +4 -2 modperl/Makefile.PL Index: Makefile.PL

cvs commit: modperl Changes Makefile.PL

2002-05-22 Thread dougm
dougm 02/05/22 19:52:15 Modified:.Changes Makefile.PL Log: autoset PERL_USELARGEFILES=0 if needed Revision ChangesPath 1.642 +2 -0 modperl/Changes Index: Changes === RCS file:

cvs commit: modperl/t/docs startup.pl

2002-05-22 Thread dougm
dougm 02/05/22 20:07:28 Modified:.Changes src/modules/perl mod_perl.h t/docs startup.pl Log: make sure DynaLoader is loaded before XSLoader to workaround possible segv when using mod_perl as a dso with perl 5.6.1 Revision Changes

cvs commit: modperl/apaci mod_perl.config.sh

2002-05-22 Thread dougm
dougm 02/05/22 20:30:21 Modified:apacimod_perl.config.sh Log: another bleedperl/hpux/ld hack Revision ChangesPath 1.26 +1 -1 modperl/apaci/mod_perl.config.sh Index: mod_perl.config.sh

cvs commit: modperl Changes Makefile.PL STATUS

2002-05-22 Thread dougm
dougm 02/05/22 20:38:39 Modified:.Changes Makefile.PL STATUS Log: Submitted by: Randy Kobes [EMAIL PROTECTED] Reviewed by: dougm fix Win32 build problems with spaces in shell arguments Revision ChangesPath 1.644 +3 -0 modperl/Changes Index:

cvs commit: modperl/src/modules/perl mod_perl.c mod_perl.h

2002-05-22 Thread dougm
dougm 02/05/22 21:03:46 Modified:src/modules/perl mod_perl.c mod_perl.h Log: better fix for DynaLoader vs XSLoader workaround Revision ChangesPath 1.144 +23 -1 modperl/src/modules/perl/mod_perl.c Index: mod_perl.c

cvs commit: modperl/t/net/perl server_error.pl

2002-05-22 Thread dougm
dougm 02/05/22 21:21:07 Modified:.Changes STATUS lib/Apache Registry.pm t/net/perl server_error.pl Log: Submitted by: Jesse Erlbaum [EMAIL PROTECTED] Reviewed by: dougm Apache::Registry errors are now saved in $r-notes('error-notes')

cvs commit: modperl/src/modules/perl mod_perl.c mod_perl.h

2002-05-22 Thread dougm
dougm 02/05/22 21:35:16 Modified:src/modules/perl mod_perl.c mod_perl.h Log: fix fix to compile with ithreads Revision ChangesPath 1.145 +2 -2 modperl/src/modules/perl/mod_perl.c Index: mod_perl.c