I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2005-02-10 23:58:20-08 by mreece in response to 86
Re: getting started (cont)
The DocumentRoot is actually outside of Mason's control. Document root is /Public/apache, but Mason apps live under /Public/mason and are configured with blocks such as:

PerlSetVar MasonCompRoot /Public/mason Alias /beerdb/ /Public/mason/beerdb/ <Location /beerdb/> SetHandler perl-script PerlHandler BeerDB # other Locations use PerlHandler HTML::Mason::ApacheHandler </Location>

could that be a problem for MasonX::Maypole?

I have tried putting the factory templates in both /Public/apache/maypole and /Public/mason/maypole and adjusting the comp_root [ [ factory=> ... ] ] accordingly, but in both instances i get:
...
could not find component for path 'beerdb/beer/list' Trace begun at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 996 HTML::Mason::Request::comp('MasonX::Request::ExtendedCompRoot=HASH(0x85d97ec)', 'beerdb/beer/list') + called at /Public/apache/maypole/dhandler line 1 BeerDB::__ANON__ at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Component.pm line 136
(or called at /Public/mason/maypole/dhandler, in the other case)
Direct Responses: 90 | Write a response