Skip Menu |

This queue is for tickets about the SOAP-Lite CPAN distribution.

Report information
The Basics
Id: 30741
Status: resolved
Priority: 0/
Queue: SOAP-Lite

People
Owner: Nobody in particular
Requestors: nick [...] abstractwankery.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.70_02
Fixed in: (no value)



Subject: SOAP::Transport::HTTP::Apache doesn't quite play well with Apache2
I am migrating a module from using the XMLRPC::Lite Daemon to run on Apache instead so we can ramp up concurrent connections. I ran into a small problem while deploying on Apache2, and it was the same on Ubuntu Linux 7.10 and Mac OS X 10.5.0. Error message: Can't locate object method "dir_config" via package "Apache2::RequestRec" at /usr/local/share/perl/5.8.8/SOAP/Transport/HTTP.pm line 653. My Apache2 configuration, module names and path disguised: Listen 8081 NameVirtualHost *: 8081 SetEnv MOD_PERL_API_VERSION 2 <VirtualHost *: 8081 > <Location /> SetHandler perl-script PerlHandler Apache::XMLRPC::Lite PerlSetVar dispatch_to "/real/path/to/modules, RealModuleName" PerlSetVar options "compress_threshold => 10000" </Location> </VirtualHost> Fix: In SOAP::Transport::HTTP, add "require Apache2::RequestUtil;" below the other Apache2:: modules. 551d550 < require Apache2::RequestUtil;
Fixed in CVS, will be in next release. Thanks for reporting, Martin