[Zope] Webdav and mimetypes

Fred Drake fdrake at gmail.com
Mon Jul 26 11:52:38 EDT 2004


On Mon, 26 Jul 2004 10:41:24 -0500, Kirk Strauser <kirk at 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>


More information about the Zope mailing list