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 > ----------------------------------------------- -- - - _______________________________________________ List: [email protected] Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
