How exactly does extensions to ignore work in the app config? I thought
that it would ignore any files with those extensions and pass them to
whatever would regularly serve them. Now I think it is the other way
around...
I had added .jpg, .png, and .gif to the extensions to ignore thinking
that I only wanted the appserver to parse / deal with .py files. This
caused all my images to not load. After searching for the cause for
several days, I went back to the config file and removed those
extensions. Now the images load correctly.
Since this was appearing in my logs, I assumed that webware was
accessing the images and there was some other problem.
12 2001-12-11 15:42:02 /buttons/button_kuro5hin.png
12 0.02 secs /buttons/button_kuro5hin.png
But now taking a look at my logs, .png requests, which are no longer
ignored, do not appear. This is almost the opposite of how I would have
thought this worked. If its ignored, why is it logged as an access
(without error), and when it is not ignored, why doesn't it appear in
the logs?
Is this a bug, or was it designed this way? Could someone clarify
exactly what it means to ignore a file extension?
Thanks.
|