I've posed some similar questions to the mod_perl list, but since the
problems I'm having originated from my use of the
example config and handler from the Template Toolkit tutorial, I thought
I'd hit you guys up, too. I know that these issues are not necessarily
specific to TT, but I thought I'd give it a shot, anyway.

When I use the config and handler from the tutorial (see
http://www.template-toolkit.org/docs/plain/Tutorial/Web.html#DYNAMIC_CON
TENT_GENERATION_VIA_APACHE_MOD_PERL_HANDLER) I have two problems, both
related (as far as I can tell) to using virtual content, i.e. Apache
can't directly map the URI to a physical file.

1) DirectoryIndex stops working.
2) Images in subdirectories of the original location become corrupted.

Now, I've been able to solve both issues by 1) creating a Fixup handler
to duplicate what mod_dir normally does and 2) Declaring a sub-Location
and setting it back to the default-handler.

However, since I'm getting these issues as a direct result of using the
tutorial example (and at one point I even created all the same
directories and used the example code line-for-line just to make sure),
I feel like there must be a common, canonical solution to these issues.
Surely I'm not the first one to run into these issues.

Can someone point me in the right direction?

-Tim




Reply via email to