Re: SubRequest in Handler vs SubRequest in Filter - and Segmentation Fault

2006-07-04 Thread Stas Bekman
Scott Penrose wrote: Is this a request or a connection filter? It won't work as a connection filter (r is not available there). It is an ouptut filter. But what output filter? There are two: http://perl.apache.org/docs/2.0/user/handlers/filters.html#HTTP_Request_vs__Connection_Filters

threads under mod perl2

2006-07-04 Thread Qasem Sweilem
Hi, I have a problem running threads under mod perl. I always get a zero sized reply in the browser and I get a segfault signal Segmentation fault in the apache error log It works fine under normal cgi. Note: I have perl 5.8.6 and Apache2.0 with mod-perl2.0.2 When typing: perl -V:useithreads

Re: SubRequest in Handler vs SubRequest in Filter - and Segmentation Fault

2006-07-04 Thread Scott Penrose
On 04/07/2006, at 17:30, Stas Bekman wrote: Scott Penrose wrote: Is this a request or a connection filter? It won't work as a connection filter (r is not available there). It is an ouptut filter. But what output filter? There are two: http://perl.apache.org/docs/2.0/user/handlers/

Re: SubRequest in Handler vs SubRequest in Filter - and Segmentation Fault

2006-07-04 Thread Stas Bekman
Scott Penrose wrote: On 04/07/2006, at 20:53, Scott Penrose wrote: On 04/07/2006, at 17:30, Stas Bekman wrote: Scott Penrose wrote: Is this a request or a connection filter? It won't work as a connection filter (r is not available there). It is an ouptut filter. But what output

Re: SubRequest in Handler vs SubRequest in Filter - and Segmentation Fault

2006-07-04 Thread Scott Penrose
On 05/07/2006, at 5:47, Stas Bekman wrote: http://perl.apache.org/docs/2.0/user/handlers/ filters.html#HTTP_Request_vs__Connection_Filters OK Some very weird and interesting problems here. I think they are bugs, but I am not certain. Firstly - if you write the code... (straight from the

Re: Apache2::CmdParms usage during server startup

2006-07-04 Thread Fred Moyer
late followup Geoffrey Young wrote: Fred Moyer wrote: Here's the code I'm using. I'm guessing that get_config() may not return what I'm looking for during startup since it functions properly at runtime. Any ideas? $pkg_global will be a template object, which is why I want to construct it

Re: Apache2::CmdParms usage during server startup

2006-07-04 Thread Fred Moyer
late followup Philip M. Gollucci wrote: Fred Moyer wrote: Fred Moyer wrote: Aha - simple solution is use the first instance of get_config() in the handler and cache it. Sorry for the noise - got caught up in 'why isnt it working when maybe it should'. Still a bit curious why it doesn't

getting server error message xml doesn't work

2006-07-04 Thread user51564
Apache/2.0.58 (Win32) mod_ssl/2.0.55 OpenSSL/0.9.8a mod_jk2/2.0.4 PHP/5.1.4 mod_perl/2.0.2 Perl/v5.8.8 HTTPD.CONF: FilesMatch \.xml$ SetHandler perl-script PerlHandler Apache::XMLRPC::Lite PerlSetVar dispatch_to C:/Perl/site/lib/XMLRPC::Transport::HTTP::Apache PerlSetVar options