PerlModule lifetime / threads

2010-05-19 Thread Some Guy
Hey all, I am trying to port a module I wrote in C to one that uses mod_perl. The C module would spawn a thread in the child_init process and poll a file. The file polled contained data that the header parser phase would use. I protected the data via a RW Lock. Now when doing this in mod_perl

Truoble getting Apache::AuthCookie to work on server

2010-05-19 Thread Chris Bennett
After getting it to work just fine on my desktop, without any virtual hosts, I can't get it to work right on my server in a virtual host. Using OpenBSD, older -current, chrooted, all mod_perl after adding some debugging warns, I get this username= cool at /usr/local/libdata/perl5/site_perl/MyP

Re: Truoble getting Apache::AuthCookie to work on server

2010-05-19 Thread André Warnier
Chris Bennett wrote: After getting it to work just fine on my desktop, without any virtual hosts, I can't get it to work right on my server in a virtual host. I have Apache::AuthCookie (and several derived versions) working fine in multiple VirtualHost sections, on several servers. I just ment

Re: PerlModule lifetime / threads

2010-05-19 Thread Perrin Harkins
On Wed, May 19, 2010 at 4:37 PM, Some Guy wrote: > if I have a ChildInitHandler, any changes I make to globals are not > reflected in a HeaderParserHandler.  My globals do not have the :shared > attribute - must they? Only if you're trying to update them from a different thread. If there aren't

ExtFilterDefine persistency

2010-05-19 Thread David
If I haven't sent this to the correct place please inform me. I've look through the assorted documentation, both mod_perl and Apache, and haven't found a solution to my situation. I've also given the internet a try with no luck. I admit I'm new to mod_perl. I've installed mod_perl onto an Apach

Re: Truoble getting Apache::AuthCookie to work on server

2010-05-19 Thread Chris Bennett
On 05/19/10 17:11, André Warnier wrote: Chris Bennett wrote: After getting it to work just fine on my desktop, without any virtual hosts, I can't get it to work right on my server in a virtual host. I have Apache::AuthCookie (and several derived versions) working fine in multiple VirtualHost s