SCIENTIFIC-LINUX-USERS Archives

March 2010

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Robert E. Blair" <[log in to unmask]>
Reply To:
Robert E. Blair
Date:
Tue, 30 Mar 2010 16:18:11 -0500
Content-Type:
multipart/mixed
Parts/Attachments:
text/plain (1353 bytes) , reb.vcf (446 bytes)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have been lately quite annoyed by the fact that sometimes (not always)
the new versions of powerpoint files (.pptx ones) do not cause
openoffice to come up.  You often need to save the file and then open it
locally.  It just dawned on my why.  Many (ours included) web servers do
not have pptx in the /etc/mime.types file so the files are not properly
labeled as powerpoint.  I believe that adding the following to the
/etc/mime.types file of our web servers will fix it:
change: application/vnd.ms-powerpoint          ppt
instead it should read: application/vnd.ms-powerpoint          ppt pptx

Similar changes are needed for doc->doc docx
and for xls->xls xlsx

Without this the web server identifies the files as binary and a browser
that respects this simply allows you to download and not to open the
file.  It would be great if TUV would incorporate this into future
releases of the mailcap rpm.
- --
Robert E. Blair, Room C221, Building 360
Argonne National Laboratory (High Energy Physics Division)
9700 South Cass Avenue, Argonne, IL 60439, USA
Phone: (630)-252-7545  FAX: (630)-252-5782
GnuPG Public Key: http://www.hep.anl.gov/reb/key.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFLsmqTOMIGC6x7/XQRAtCiAJ46+M9FQdaoUdPp0JNjnsoJwQJuBACgtZD8
jrsVT6+O3hIPE1K5U/A+vn8=
=79M6
-----END PGP SIGNATURE-----


ATOM RSS1 RSS2