Hi All, I'm trying to get a basic test install of Apache::RPC::Server running on my system, but I'm getting an error which I haven't been able to sort out. I've got all the RPC::XML bits installed ok and the server minimally configured according to the synopsis on the man page:
In startup.pl: use Apache::RPC::Server(); In httpd.conf: PerlSetVar RpcMethodDir /usr/local/apache/lib/perl/Apache/procs PerlChildInitHandler Apache::RPC::Server->init_handler <Location /RPC> SetHandler perl-script PerlHandler Apache::RPC::Server Order deny,allow Allow from all </Location> But when I run the client which is only: #!/usr/bin/perl -w require RPC::XML; require RPC::XML::Client; my $client = RPC::XML::Client->new('http://localhost/RPC'); my $request = $client->request("hello"); my $resp = $client->simple_request($request); if ($resp) { print $resp, "\n"; } else { print $RPC::XML::ERROR, "\n"; } I get: RPC::XML::Client::simple_request: RPC::XML::Client:send_request: HTTP server error: Internal Server Error In error_log I get: [Mon Apr 22 23:09:42 2002] [error] Can't locate object method "server_hostname" via package "Apache" (perhaps you forgot to load "Apache"?) at /usr/local/lib/perl5/site_perl/5.6.1/Apache/RPC/Server.pm line 247. The rest of my mod_perl applications on the server still run fine, so I didn't forget Apache, and the server make no complaints at startup. Can anyone point me in the right direction? Thank in advance, Bill Config: RH linux 7.2/intel (apache and perl not included in the install) apache 1.3.22 mod_perl 1.26 perl 5.6.1