On 2/11/07, Mitchell Curtis Hatter <[EMAIL PROTECTED]> wrote: > I'm having issues with page caching in Rails 1.1.6 where it's not > always putting a .html extension at the end of the cached files (so I > end up with files like 122.21 instead of 122.21.html). Then the next > time it is served up via the web server (mongrel or apache) Firefox > treats it as a binary file. I can't find a fix for this so I was > hoping there would be a work around in Mongrel or Apache. > > I tried ForceType text/html inside a <Directory> element in my apache > configuration but that didn't seem to be completely reliable. > > For now I'll switch to trying to use action caching instead.
It only adds .html if no extension is found. It thinks .21 is the extension. -- Rick Olson http://weblog.techno-weenie.net http://mephistoblog.com _______________________________________________ Mongrel-users mailing list Mongrel-users@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users