Re: [viewvc-users] ViewVC and Office 2007

"C. Michael Pilato" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Organization CollabNet, Inc.
Message-ID <4A5F34D2.4090000__41482.9320427545$1247753451$gmane$org@collab.net>
Hamid Ghassemi wrote:
> There seems to be a problem with Mime Type setting in ViewVC.  each time
> we click on a link in viewvc, the file that is opened in IE contains
> garbage.  Even if we try to download the file it is downloaded in form of
> a .Zip file.  I have setup the correct Mime Types in Apache since
> Subversion's own web interface allows IE to launch the appropriate office
> application.

You may or may not realize this, but the Office 2007 file formats *are* ZIP
archives which contain XML documents.  The Office 2007 user interface
conceals this fact like any good UI would (why should users care about the
internal format of their data files?), but it's not altogether out of line
for a web server or client to want to open those things with a ZIP program.

Setting up the right MIME types in Apache is the correct first step,
especially if you did this by adding the right mappings to Apache's
mime.types file.  Once that's done, you can configure ViewVC to actually
refer to Apache's mime.types file for its own mappings.  Simply set
mime_types_file = /path/to/apache2/conf/mime.types.

-- 
C. Michael Pilato <[email protected]>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2371762

To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkpfNNIACgkQokEGqRcG/W5T2gCdHO6zaUmcfy2+ZvaxLUVei1in
0aoAn0gxo0LVL7UpPDpRMYPeIjw3wlW/
=c9C0
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.