26 Jul
2004
26 Jul
'04
3:52 p.m.
On Mon, 26 Jul 2004 10:41:24 -0500, Kirk Strauser <kirk@daycos.com> wrote:
Is there any way to persuade a "vanilla" Zope 2.7.0 installation (read: no Plone, CMF, etc.) to send reasonable mimetypes for things like Python scripts or DTML methods or documents?
Do the names of your scripts have extensions? If so, you should be able to configure the MIME types for the extensions by configuring Zope to load additional mappings of extensions for MIME types. See the "mime-types" setting in your zope.conf file; there's a description of how to use that in the sample zope.conf that gets created in a new instance. -Fred -- Fred L. Drake, Jr. <fdrake at gmail.com>