[jira] Commented: (MODPYTHON-77) The multiple interpreter concept of mod_python is broken for Python extension modules since Python 2.3

2005-09-06 Thread Graham Dumpleton (JIRA)
[ http://issues.apache.org/jira/browse/MODPYTHON-77?page=comments#action_12322710 ] Graham Dumpleton commented on MODPYTHON-77: --- I worked out what was going on a few days ago, but first time with Internet access since. :-( I agree that what is

Re: Getting ready for 3.2 beta 2

2005-09-06 Thread Gregory (Grisha) Trubetskoy
I've been away this weekend - just got back, but I'm too busy to try to read all the multiple-interpreter related comments. I guess my question is - can someone provide a quick summary of how far we are from 3.2.1b test tarbal? Thanks! Grisha On Thu, 1 Sep 2005, Graham Dumpleton wrote:

Re: Getting ready for 3.2 beta 2

2005-09-06 Thread Nicolas Lehuen
Well, if I've understood Jim's mail, apart from the new MODPYTHON-77, we're all set. Regards, Nicolas2005/9/6, Gregory (Grisha) Trubetskoy [EMAIL PROTECTED]: I've been away this weekend - just got back, but I'm too busy to try toread all the multiple-interpreter related comments. I guess my

Re: Getting ready for 3.2 beta 2

2005-09-06 Thread Jim Gallacher
Gregory (Grisha) Trubetskoy wrote: I've been away this weekend - just got back, but I'm too busy to try to read all the multiple-interpreter related comments. I guess my question is - can someone provide a quick summary of how far we are from 3.2.1b test tarbal? I've also been away for the

Re: Getting ready for 3.2 beta 2

2005-09-06 Thread Gregory (Grisha) Trubetskoy
On Tue, 6 Sep 2005, Jim Gallacher wrote: As Graham stated on the weekend, the use of thread states can be very tricky. I think we should proceed with the 3.2.1b without the fix. That way we can take the time to make sure we understand the issues and fix it in 3.3. If that seems reasonable,

Problem with $req-upload()

2005-09-06 Thread Nikolay Ananiev
Hello, when I try to use my $req = APR::Request::Apache2-handle($r); my $f = $req-upload('file'); I get the following error in the error log: [Tue Sep 06 19:09:10 2005] [error] Can't locate auto/APR/Request/Apache2/upload.al in @INC (@INC contains: d:/sites/lib d:/sites/cgi-bin D:/Sites/Perl/lib

Re: Problem with $req-upload()

2005-09-06 Thread Joe Schaefer
Joe Schaefer [EMAIL PROTECTED] writes: Nikolay Ananiev [EMAIL PROTECTED] writes: Hello, when I try to use my $req = APR::Request::Apache2-handle($r); my $f = $req-upload('file'); Hmm, so far there's no upload() method in APR::Request. Ah, oops. It is available after all:

Re: Proposed connection state diagram

2005-09-06 Thread Torsten Foertsch
On Tuesday 06 September 2005 06:10, Brian Pane wrote: http://www.brianp.net/work/opensource/apache/async.html Shouldn't there be a transition from HANDLER to CHECK_REQUEST_LINE_READABLE in case the full response is sent and keep-alive is on? Torsten pgpGwArqwD7oI.pgp Description: PGP

Re: LoadModule questions on WIN32

2005-09-06 Thread Mladen Turk
Jim Jagielski wrote: Mladen Turk wrote: This means that both create_server_config and create_dir_config function *are always* called on LoadModule, before module's pre_config hook is called. Is this a correct behavior? I need to relook at the code, but it's my recall that what that

Re: LoadModule questions on WIN32

2005-09-06 Thread Jim Jagielski
Mladen Turk wrote: Well, seems that those two functions are called before pre_config even from Apache 1.3, so seems that functions are called, not stored. This implicates that your patch for balancer *should* move external hook loading in the pre_config, and that the hook in balancer is

Re: LoadModule questions on WIN32

2005-09-06 Thread Mladen Turk
Jim Jagielski wrote: Mladen Turk wrote: BTW, when you are testing those patches on nix, do you use static or dynamic modules? Both. Plus, as I said, Bill Rowe also tested under Win32 and got no errors at all. Can you ask him to send me the binaries. I'm feeling quite puzzled. I would

Re: LoadModule questions on WIN32

2005-09-06 Thread Jim Jagielski
Mladen Turk wrote: Jim Jagielski wrote: Mladen Turk wrote: BTW, when you are testing those patches on nix, do you use static or dynamic modules? Both. Plus, as I said, Bill Rowe also tested under Win32 and got no errors at all. Can you ask him to send me the binaries.

Re: LoadModule questions on WIN32

2005-09-06 Thread Jim Jagielski
Mladen Turk wrote: I was wondering, if you add: static const char *const aszSucc[] = { mod_proxy.c, NULL}; to ap_proxy_balancer_register_hook(), and then adjust the following line to look like this: proxy_hook_load_lbmethods(add_lbmethods, aszSucc, NULL, APR_HOOK_FIRST); Does it

Re: LoadModule questions on WIN32

2005-09-06 Thread Mladen Turk
Jim Jagielski wrote: I was wondering, if you add: static const char *const aszSucc[] = { mod_proxy.c, NULL}; to ap_proxy_balancer_register_hook(), and then adjust the following line to look like this: proxy_hook_load_lbmethods(add_lbmethods, aszSucc, NULL, APR_HOOK_FIRST); Does it

Re: LoadModule questions on WIN32

2005-09-06 Thread Jim Jagielski
Mladen Turk wrote: Jim Jagielski wrote: I was wondering, if you add: static const char *const aszSucc[] = { mod_proxy.c, NULL}; to ap_proxy_balancer_register_hook(), and then adjust the following line to look like this: proxy_hook_load_lbmethods(add_lbmethods,

Re: LoadModule questions on WIN32

2005-09-06 Thread Mladen Turk
Jim Jagielski wrote: Sorry but not. Same thing; 'add_lbmethods' is never called because it is called from create_server_config that OTOH is called before mod_proxy_balancer is loaded by the LoadModule. Strange... Because c_s_c is actually called *multiple* times during the actual load and

Re: LoadModule questions on WIN32

2005-09-06 Thread Jim Jagielski
Mladen Turk wrote: Look Jim, not sure how can I explain that to you, but here is what happens: 1. LoadModule mod_proxy create_server_config tries to load the function from proxy_load_balancer 2. LoadModule mod_proxy_balancer So, c_s_c from mod_proxy is referencing the

Re: LoadModule questions on WIN32

2005-09-06 Thread Mladen Turk
Jim Jagielski wrote: [Tue Sep 06 20:03:05 2005] [debug] mod_proxy_balancer.c(41): proxy: BALANCER: canonicalising URL //cluster//servlet-examples/ [Tue Sep 06 20:03:06 2005] [notice] child pid 3455 exit signal Segmentation fault (11) So, this is 2.1.7-beta from pquerna. Weird that no one

Re: LoadModule questions on WIN32

2005-09-06 Thread Jim Jagielski
Mladen Turk wrote: Jim Jagielski wrote: [Tue Sep 06 20:03:05 2005] [debug] mod_proxy_balancer.c(41): proxy: BALANCER: canonicalising URL //cluster//servlet-examples/ [Tue Sep 06 20:03:06 2005] [notice] child pid 3455 exit signal Segmentation fault (11) So, this is 2.1.7-beta from

proxy balancer hook (Was: Re: LoadModule questions on WIN32)

2005-09-06 Thread Jim Jagielski
Can anyone else recreate the core dumps that Mladen is seeing with the balancer in 2.1.7-beta? The httpd-test perl framework has a simple test for it. -- === Jim Jagielski [|] [EMAIL PROTECTED] [|]

Re: proxy balancer hook (Was: Re: LoadModule questions on WIN32)

2005-09-06 Thread r . pluem
Jim Jagielski wrote: Can anyone else recreate the core dumps that Mladen is seeing with the balancer in 2.1.7-beta? The httpd-test perl framework has a simple test for it. I can confirm Mladens core dumps. I used the latest revision from svn and did the following: ./configure

Re: proxy balancer hook (Was: Re: LoadModule questions on WIN32)

2005-09-06 Thread Jim Jagielski
Hmmm My tests have all been http: Proxy balancer://foo BalancerMember http://www.google.com:80 loadfactor=1 ProxySet lbmethod=bytraffic /Proxy ProxyPass /bat/ balancer://foo/ Weird... Thanks for the feedback! [EMAIL PROTECTED] wrote: Jim Jagielski wrote: Can anyone else recreate

Re: ApacheCon BOF about Module Repository

2005-09-06 Thread Sander Temme
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Folks, I have been meaning to follow up on this ever since that BOF, and am deeply annoyed that it has taken me this long. As a matter of fact, my memory of that BOF session has now faded to a considerable extent and I don't feel comfortable

Re: proxy balancer hook (Was: Re: LoadModule questions on WIN32)

2005-09-06 Thread Jim Jagielski
Hold on a tic... it seems to be related to whether or not it's within a Vhost...

Re: proxy balancer hook (Was: Re: LoadModule questions on WIN32)

2005-09-06 Thread r . pluem
Jim Jagielski wrote: Hold on a tic... it seems to be related to whether or not it's within a Vhost... I can confirm this Jim. Once I use VirtualHost 127.0.0.1:80 Proxy balancer://cluster BalancerMember ajp://localhost:8009 /Proxy ProxyPass /servlet-examples/

Re: ApacheCon BOF about Module Repository

2005-09-06 Thread Philip M. Gollucci
Sander Temme wrote: For maximum compatibility, this tool would have to be written in C. Currently, apxs is a Perl program but you can't always count on the availability of Perl on the system, especially on Windows. The apxs++ tool would be available only when mod_so is available. Sorry

Re: proxy balancer hook (Was: Re: LoadModule questions on WIN32)

2005-09-06 Thread r . pluem
[EMAIL PROTECTED] wrote: Jim Jagielski wrote: Hold on a tic... it seems to be related to whether or not it's within a Vhost... I think this is the solution as for each virtual host the create_server_config is run for this virtual host again *after* all modules have been loaded. Thus it

Re: proxy balancer hook (Was: Re: LoadModule questions on WIN32)

2005-09-06 Thread Jim Jagielski
[EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Jim Jagielski wrote: Hold on a tic... it seems to be related to whether or not it's within a Vhost... I think this is the solution as for each virtual host the create_server_config is run for this virtual host again *after*

Re: [PATCH] mod_authnz_ldap and satisfy all

2005-09-06 Thread Ryan Morgan
On Sep 5, 2005, at 3:15 AM, Graham Leggett wrote: Ryan Morgan wrote: require ldap-group cn=Engineering,ou=Groups,o=SomeCompany,c=US require ldap-group cn=QA,ou=Groups,o=SomeCompany,c=US satisfy all Could someone provide feedback on whether this is a feature that could be added

Re: ApacheCon BOF about Module Repository

2005-09-06 Thread Nick Kew
Sander Temme wrote: One aspect of TCAHMAN that I hadn't covered in my original discussion is how to add modules from the repository to an existing Apache install. This would require a program, installed with the server, that can fetch the module code and run the build/install. We have

Re: ApacheCon BOF about Module Repository

2005-09-06 Thread Randy Kobes
On Tue, 6 Sep 2005, Sander Temme wrote: Folks, I have been meaning to follow up on this ever since that BOF, and am deeply annoyed that it has taken me this long. As a matter of fact, my memory of that BOF session has now faded to a considerable extent and I don't feel comfortable even