[Catalyst] Static content with catalyst

Kyncho Pehotinec kyncho.pehotinec at gmail.com
Mon May 7 15:49:21 GMT 2007


Hello,

Definitely! Everything under /root/static is getting served _as static
content_.
I don't see a reason to install yet another plugin/module to serve
static files.

Greets,
K.

Tobias Kremer wrote:
> Hi Dmitri,
>
>> I have
>> a) JavaScript files (*.js) and
>> b) images,
>> which I want to use with catalyst.
>> Where should I put them in order to be able to use it?
>
> Take a look at the Static::Simple plugin which is enabled
> by default:
>
> http://search.cpan.org/dist/Catalyst-Plugin-Static-Simple/
>
> By default, files under /root/static are served as static
> content but you may as well define certain file extensions
> (e.g. .js) to be served as static files AFAIK.
>
> HTH,
>
> --Tobias
>
> _______________________________________/\____ _ .  .
> + web ::::::: http://www.funkreich.de
> + last.fm ::: http://www.last.fm/user/soulchild77
> ----------------------------------------------- -- -  -




More information about the Catalyst mailing list