[Catalyst] Static content with catalyst
Tobias Kremer
list at funkreich.de
Sun May 6 17:23:55 GMT 2007
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