[Xitami] Xitami 2.4d10 Swish-eX .mht .pdf Display Problem
Owen, Thomas F CIV B35
xitami@lists.xitami.org
Thu, 14 Apr 2005 12:04:17 -0500
Marc,
Found my own answer. All now works fine.
Thanks again,
Tom
Thomas F. Owen Naval Surface Warfare Center
thomas.f.owen1@navy.mil Dahlgren Division, Code B35
Work: (540) 653-7614 17320 Dahlgren Road
Fax: (540) 653-7193 Dahlgren, VA 22448-5100
-----Original Message-----
From: Owen, Thomas F CIV B35=20
Sent: Thursday, April 14, 2005 12:58
To: 'xitami@lists.xitami.org'
Subject: RE: [Xitami] Xitami 2.4d10 Swish-eX .mht .pdf Display Problem
Marc,
I understand about MIME, but I was not aware that the server had to do =
something with it. I "assumed" the browser had to know how to handle =
the extension. In any event, the mht entry fixed that problem. I was =
mistaken in the pdf. It works fine. It is the ppt and xls that do not. =
Do you know the mime application entry for those?
Thanks again for the great info.
Tom
Thomas F. Owen Naval Surface Warfare Center
thomas.f.owen1@navy.mil Dahlgren Division, Code B35
Work: (540) 653-7614 17320 Dahlgren Road
Fax: (540) 653-7193 Dahlgren, VA 22448-5100
-----Original Message-----
From: xitami-admin@lists.xitami.org
[mailto:xitami-admin@lists.xitami.org]On Behalf Of Marc Doigny
Sent: Thursday, April 14, 2005 11:17
To: xitami@lists.xitami.org
Subject: Re: [Xitami] Xitami 2.4d10 Swish-eX .mht .pdf Display Problem
At 16:56 14/04/05, you wrote:
>I have implemented the cgi based Swish-eX that includes the Xitami =
2.4d10=20
>server. All works great except that .pdf and .mht (Microsoft Internet=20
>Explorer saved single file archive) will not display as a .pdf or .htm =
file.
Check that the correct mime types are defined in the config files=20
(default.cfg).
Normally pdf should be present in xitami.cfg
If the mime types are not present, add them in default.cfg and restart =
the=20
srever
For pdf it's application/pdf
for mht message/rfc822
[Mime]
default=3D*/* # Default MIME type
htm=3Dtext/html
html=3Dtext/html
txt=3Dtext/plain
...
pdf=3Dapplication/pdf
add in default.cfg
[mime]
mht=3Dmessage/rfc822
These are mappings of extensions used in the windows world to mime types =
used esewhere (first in mail messages to send "rich" content)
-------------------------------------------------------------------------=
--::Mailserver Verfaillie Bauwens::-- contact : =
postmaster@verfaillie.com
Alle mails gecontroleerd op virussen. Virusdefinities dagelijks =
aangepast
----------------------- http://www.verfaillie.com =
-----------------------=20
--
Xitami Users Mailing List -- For Xitami support
To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami