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
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
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
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
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
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