[Catalyst] C::P::Static::Simple patch, new config option "ignore_dir_extensions"

Carl Franks fireartist at gmail.com
Wed May 3 13:43:35 CEST 2006


Attached is a patch to add a new "ignore_dir_extensions" option.

At present, if I want to allow all files within root/static to be
served, I have to set
ignore_extensions = []
which means that all files in all folders will be served.

This new option would allow me to set
ignore_dir_extensions = { static => [] }
which would mean that all files within root/static would be served,
yet other directories will still use the default "ignore_extensions"
setting.

Cheers,
Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ignore_dir_extensions.patch
Type: text/x-patch
Size: 3738 bytes
Desc: not available
Url : http://lists.rawmode.org/pipermail/catalyst/attachments/20060503/f03763ea/attachment-0001.bin 


More information about the Catalyst mailing list