[cgiapp] suitability of Autorunmode

Richard Jones ra.jones at dpw.clara.co.uk
Thu Nov 20 12:12:29 EST 2008


Cees Hek wrote:
> On Thu, Nov 20, 2008 at 5:50 AM, Richard Jones <ra.jones at dpw.clara.co.uk> wrote:
>> See my earlier posting - CAP::AutoRunmode not working with mod_perl again ??
>>
>> It's viewable here:
>> http://www.mail-archive.com/cgiapp@lists.openlib.org/msg07094.html
>>
>> If you *do* get it working with mod_perl, I would be very interested to hear
>> about it. I can't. See also CAP::RunmodeDeclare as an alternative, which
>> *does* work with mod_perl, at least in my setup.
> 
> Hi Richard,
> 
> I run AutoRunmode under mod_perl successfully, but I do remember
> having problems with it.  If I remember correctly (and it's been a few
> years since I looked into it), I had to make sure that
> Attribute::Handlers was installed, and I had to load the plugin in my
> instance script as well as in the application.

Hi Cees,

Not for me unfortunately. I've got 'use Attribute::Handlers' in Apache 
startup.pl script, sub-classes and superclass, but still no joy. I 
either get the 'no such run mode' error, or a dump_html output. I 
haven't worked out what triggers which of the 2 responses yet (possibly 
whether it's 'root' or 'branch' request (eg /foo or /foo/bar), but in 
any case it just doesn't work. It's RunmodeDeclare for me from now on. 
Thanks anyway.
-- 
Richard Jones


More information about the cgiapp mailing list