From: Tavis R. <ta...@ca...> - 2001-12-11 21:25:49
|
Tim, I'm not sure what's going on with the logging, but ExtensionsToIgnore isn't used for what you're trying to do. Its purpose is to ignore files that should never be served by Webware or Apache. See http://webware.colorstudy.net/twiki/bin/view/Webware/ModRewriteRecipe s for the solution to your problem. On Tuesday 11 December 2001 12:58, you wrote: > 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. > > > _______________________________________________ > Webware-discuss mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webware-discuss ------------------------------------------------------- |