jon at jrock.us
Sun Jul 20 07:44:27 BST 2008
* On Sat, Jul 19 2008, Aristotle Pagaltzis wrote:
> * kakimoto at tpg.com.au <kakimoto at tpg.com.au> [2008-07-19 04:10]:
>> i got the issue fixed up by add "root/static" to
>> lib/myApp/View/TT.pm and yes, 'Static::Simple' was used.
>> Here's an extract...
>> CATALYST_VAR => 'Catalyst',
>> INCLUDE_PATH => [
>> myApp->path_to( 'root', 'src' ),
>> myApp->path_to( 'root', 'lib' ),
>> myApp->path_to( 'root', 'static' ), <-- Added this in
>> PRE_PROCESS => 'config/main',
>> WRAPPER => 'site/wrapper',
>> ERROR => 'error.tt2',
>> TIMER => 0,
>> Thank you for the prompt response/help, guys!
> This seems very wrong. Why should adding the static file
> directory to the TT include path do anything if Static::Simple is
> supposed to serve the file? Something is almost certainly going
> on here that you do not actually want.
Yes, thank you for pointing that out. The above config does not solve
the more-above problems.
you want to serve statically, then this only works because of some weird
print just => another => perl => hacker => if $,=$"
More information about the Catalyst