Re: [mod_perl2] PerlChildInitHandlers with multiple (Win32) threads

2002-07-09 Thread Peter Rothermel
Thanks for the info, its exactly what I needed. -pete Stas Bekman wrote: Peter Rothermel wrote: Stas Bekman wrote: Peter Rothermel wrote: PerlChildInitHandler Apache::foo-loadkey Will the genkey method get execute at the initialization of each thread? Apache doesn't provide

[mod_perl2] PerlChildInitHandlers with multiple (Win32) threads

2002-07-05 Thread Peter Rothermel
greetings, I'm looking for the documentation that describes how PerlChildInitHandlers work with multiple threads on Win32 platforms. Here's a specific question: I have the following in my httpd.conf: IfModule mpm_winnt.c ThreadsPerChild 10 MaxRequestsPerChild 0 /IfModule

Re: [mod_perl2] PerlChildInitHandlers with multiple (Win32) threads

2002-07-05 Thread Peter Rothermel
Stas Bekman wrote: Peter Rothermel wrote: PerlChildInitHandler Apache::foo-loadkey Will the genkey method get execute at the initialization of each thread? Apache doesn't provide such a hook yet. May be in the future. child_init is for child process init, not threads. http

Re: [mod_perl2] PerlChildInitHandlers with multiple (Win32) threads

2002-07-05 Thread Peter Rothermel
David Dyer-Bennet wrote: Peter Rothermel [EMAIL PROTECTED] writes: Stas Bekman wrote: Peter Rothermel wrote: PerlChildInitHandler Apache::foo-loadkey Will the genkey method get execute at the initialization of each thread? Apache doesn't provide such a hook

Re: Getting mod_perl to work under Win2k

2002-05-21 Thread Peter Rothermel
Michael Lawrie wrote: Hello, I've spent several days working on this problem, reading various FAQ and whatnot and finally decided to try this email list, hoping that I might find an answer here. I'm running Win2KPro and Apache 1.3.23 I downloaded mod_perl2.ppd, and installed the

Re: [modperl2] Note on the win32 docs

2002-05-20 Thread Peter Rothermel
I've run into a problem with mod_perl configuration instructions with for Registry scripts. I've built mod_perl and copied the blib directly under my Apache2 (server root) directory. Here's the errors I get run I start apache: C:\WGTI\Apache2\binapache Using C:\WGTI\Apache2/blib [Mon

Re: [modperl2] Note on the win32 docs

2002-05-20 Thread Peter Rothermel
Thanks for the info. Latest from cvs works fine. Any idea how close _02 might be to release? -pete Doug MacEachern wrote: On Mon, 20 May 2002, Peter Rothermel wrote: I've run into a problem with mod_perl configuration instructions with for Registry scripts. I've built mod_perl

Re: compatibility problem

2002-05-17 Thread Peter Rothermel
You'll find a few other issues with AuthCookie and mod_perl-1.9.9_01 beyond the REDIRECT constant. Here's a quick summary: 1) move all the $r-connection-user() calls to $r-user() calls 2) change all the err_header_out() calls to err_headers_out() calls.

Re: [modperl2] Note on the win32 docs

2002-05-13 Thread Peter Rothermel
Excellent document. A slight enhancement request. Could you give some details on how to separate the modperl installation from the Perl installation? I believe the latest binary release has the mod_perl installed in a separate blib under the C:\Apache2 directory. thanks -pete

Re: [modperl2] Note on the win32 docs

2002-05-13 Thread Peter Rothermel
Randy Kobes wrote: On Mon, 13 May 2002, Peter Rothermel wrote: The blib/ directory under C:/Apache2 doesn't actually have to be moved anywhere - one includes it with the directive PerlSwitches -Mblib=C:\Apache2 specified in the supplied httpd.conf So

Re: cannot build mod_perl-1.99_01 with httpd-2.0.36

2002-05-13 Thread Peter Rothermel
I'm getting the same error on Win32 builds. I just assumed that mod_perl-1.99_01 and httpd-2.0.36 were not compatible. I've been compiling with httpd-2.0.35 and to avoid the error. The file apr_lock.h is missing in the httpd-2.0.36 include directory but present in the httpd-2.0.35 source

err_header_out() not found in mod_perl 1.99

2002-05-06 Thread Peter Rothermel
greetings, I'm using Apache2/mod_perl 1.99 on WinNT. Here's the error: [error] [client 127.0.0.1] Can't locate object method err_header_out via package Apache::RequestRec at C:\Apach... thanks in advance -pete

Re: err_header_out() not found in mod_perl 1.99

2002-05-06 Thread Peter Rothermel
Nevermind, I found that err_headers_out() provides the needed functionality. Peter Rothermel wrote: greetings, I'm using Apache2/mod_perl 1.99 on WinNT. Here's the error: [error] [client 127.0.0.1] Can't locate object method err_header_out via package Apache::RequestRec at C:\Apach

Re: Problems with Apache-AuthCookie mod_perl 1.99

2002-05-06 Thread Peter Rothermel
ala 2.0 I'll forward the code to you. -pete Michael J Schout wrote: On Thu, 2 May 2002, Per Einar Ellefsen wrote: At 21:25 02.05.2002, Peter Rothermel wrote: greetings, Has anybody had any luck getting Apache-AuthCookie going on an Apache 2.0 / mod_perl 1.99 setup? The first thing

Help with Method Handlers in mod_perl 1.99

2002-05-03 Thread Peter Rothermel
Can somebody help me out with Method Handlers in Apache2 - mod_perl 1.99? I'm new to windows and its threading issues. Here's a simple authentication handler that shows where I'm getting stuck. I need to initialize a AuthDerivedHandler object but I'm not sure exactly how to do this. package

Re: Help with Method Handlers in mod_perl 1.99

2002-05-03 Thread Peter Rothermel
I tried the mehod attribute and now I get this error: Error message: Can't locate object method via package Apache::AuthDerivedHandler. Geoffrey Young wrote: Peter Rothermel wrote: Can somebody help me out with Method Handlers in Apache2 - mod_perl 1.99? I'm new to windows

Problems with Apache-AuthCookie mod_perl 1.99

2002-05-02 Thread Peter Rothermel
greetings, Has anybody had any luck getting Apache-AuthCookie going on an Apache 2.0 / mod_perl 1.99 setup? The first thing that I hit was $r-connection-user is deprecated. I've changed these to $r-user. The next hurdle is that the status code REDIRECT does not seen to be Apache::Constants.

Is ActivePerl required with a mod_perl-Apache installation

2002-04-30 Thread Peter Rothermel
Is there anyway to build mod_perl and Apache so that my target installation does not require ActivePerl on WinNT platforms. I'm currently doing my development on a WinNT that has ActivePerl installed and in my PATH. This is where I'm developing perl modules. When I move my installation over to