Re: Apache::ServerUtil pb in modperl2

2002-04-15 Thread Stas Bekman
pascal barbedor wrote: apache 2.0.35 / mod_perl 1.99_01 / winnt or win2k You don't say which perl version you are using. Please remember to run t/REPORT when sending bug reports. If this is 5.6.0 before we continue, first update to 5.6.1. 5.6.0 is very buggy. 5.6.1 is very stable. I

Re: Apache::ServerUtil pb in modperl2

2002-04-15 Thread Randy Kobes
On Sat, 13 Apr 2002, pascal barbedor wrote: Does the following, or some variation, work? [ .. ] sub handler { my $r = shift; my $key = $r-dir_config-get('TEST'); $r-content_type('text/plain'); $r-print($key); Apache::OK; } yes it works perfectly well. but

Re: Apache::ServerUtil pb in modperl2

2002-04-13 Thread pascal barbedor
apache 2.0.35 / mod_perl 1.99_01 / winnt or win2k I confirm that using a module in startup.pl consisting of use Data::Dumper ; use XML::LibXML() ; [1] use Apache::ServerUtil ; [2] my $s=Apache-server ; [3] my $base=$s-dir_config('some'); [4] my $xml=XML::LibXML-new(); [5] print Dumper $xml

Re: Apache::ServerUtil pb in modperl2

2002-04-13 Thread pascal barbedor
Does the following, or some variation, work? == package Apache::Test; # PerlModule Apache::Test # Location /hello-world # SetHandler modperl # PerlResponseHandler Apache::Test # PerlSetVar TEST jdjdsds # /Location

Apache::ServerUtil pb in modperl2

2002-04-12 Thread [EMAIL PROTECTED]
Hi apache 2.0.35 / mod_perl 1.99_01 / winnt I confirm that using a module in startup.pl consisting of use Data::Dumper ; use XML::LibXML() ; [1] use Apache::ServerUtil ; [2] my $s=Apache-server ; [3] my $base=$s-dir_config('some'); [4] my $xml=XML::LibXML-new(); [5] print Dumper $xml ;

Re: Apache::ServerUtil pb in modperl2

2002-04-12 Thread Randy Kobes
On Thu, 11 Apr 2002, pascal barbedor wrote: I have a problem with Apache::ServerUtil though : when using $s-dir_config('some') i have this message (and apache segfaults) Attempt to free unreferenced scalar at .. line 17 i have installed modperl through ppd, so have not the t/report

Apache::ServerUtil pb in modperl2

2002-04-11 Thread pascal barbedor
Hi thanks for preceeding answer I had missed this doc. I have a problem with Apache::ServerUtil though : when using $s-dir_config('some') i have this message (and apache segfaults) : Attempt to free unreferenced scalar at .. line 17 i have installed modperl through ppd, so have not the

Re: Apache::ServerUtil pb in modperl2

2002-04-11 Thread Stas Bekman
pascal barbedor wrote: Hi thanks for preceeding answer I had missed this doc. I have a problem with Apache::ServerUtil though : when using $s-dir_config('some') i have this message (and apache segfaults) can you get a backtrace and send here? Also try building from scratch and see if