Undefined subroutine apache_request_to_comp_path using MasonX::Request::ExtendedCompRoot

Guido Brugnara <[email protected]> Sun, 16 Apr 2017 21:16:33 +0200 (CEST)
Newsgroups gmane.comp.web.mason.user
Message-ID <[email protected]>
To set up the MasonX::Request::ExtendedCompRoot component I have add these two rows in my Apache 2.4 config file:

   PerlSetVar  MasonRequestClass   MasonX::Request::ExtendedCompRoot
   PerlSetVar  MasonResolverClass  MasonX::Resolver::ExtendedCompRoot

... but the Apache 2.4 (or 2.2) server respond with this error:

   [Sun Apr 16 20:26:17.446351 2017] [perl:error] [pid 5672] [client 192.168.9.2:40230] Undefined subroutine &HTML::Mason::Resolver::File::ApacheHandler::apache_request_to_comp_path called at /

Someone use with success this component with Apache 2?

My goal is to call to a specific component root, for example to partially change the component beavior in main root with a component in the secondary root which then calls the main component.

There are MasonX::Request::ExtendedCompRoot alternatives?

Any suggestions would be appreciated.

bye
gdo

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot