[Catalyst] Re: Static MultiViews?

Aristotle Pagaltzis pagaltzis at gmx.de
Fri Dec 10 20:32:38 GMT 2010


* Tomas Doran <bobtfish at bobtfish.net> [2010-12-10 17:05]:
> MultiViews is an apache feature for language customisation, and
> has nothing to do with not having extensions on files.

No it isn’t (just), and yes it does. MultiViews allows you to put

    directory.png
    directory.gif
    directory.ico

in `/icon/`, then use the URI `/icon/directory` (notice the lack
of extension) to let Apache decide which of these files to serve
to the browser, based on the `Accept` header sent by the browser
and the MIME type ↔ filename extension mapping from the Apache
configuration.

I don’t think such a thing exists for Catalyst.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>



More information about the Catalyst mailing list