Geoffrey Young wrote:
 
>>         $r->push_handlers(PerlResponseHandler => $module); 
> you also need $r->handler('modperl') here, as apache needs to know which
> content handler to dispatch to.

I've added this before and after push_handlers, also tried
$r->handler('perl-script') but none of them had any visible effect.

I'm still investigating why my problem occurs but I'm guessing it's an
Apache issue, I was able to call my handler for directories using this:

<LocationMatch "/$">
        PerlInitHandler Dispatcher
</LocationMatch>

But this doesn't really solve my problem since my Dispatcher gets hit too
early in the chain, the code behind it (CGI::Builder::Magic) doesn't get
the template name (index.phtml). I'm presuming this is because the uri (/)
isn't translated to the directoryindex (/index.phtml) yet.

I'll report back If I have any more clues.

> --Geoff
--
kind regards.
Tim Esselens


Reply via email to