FAQ
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

Search Discussions

  • Octavian Rasnita at May 3, 2006 at 12:32 pm
    From: "Carl Franks" <fireartist at gmail.com>

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

    Please tell us how can be applied that patch under Windows.

    Thank you.

    Teddy
  • Carl Franks at May 3, 2006 at 12:38 pm

    On 03/05/06, Octavian Rasnita wrote:
    Please tell us how can be applied that patch under Windows.
    I ran the file through dos2unix before attaching it, so you should be
    able to either run it through unix2dos, or open it with Wordpad which
    understands unix linebreaks and then re-save it.

    Carl

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedMay 3, '06 at 11:43a
activeMay 3, '06 at 12:38p
posts3
users2
websitecatalystframework.org
irc#catalyst

2 users in discussion

Carl Franks: 2 posts Octavian Rasnita: 1 post

People

Translate

site design / logo © 2022 Grokbase