[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Bad MIMETYPE configuration for .htm files accessed via SVN HTTP

From: vishwanath ramachandran_at_honeywell.com <ramachandran_at_honeywell.com>
Date: Thu, 19 Nov 2009 11:20:31 +0530

Hi Ryan

Thanks again, our source is swf embedded with html. Can we do the same
for swf as you mentioned "svn propset?"

I tried the same command for swf, it did not work!! We have a folder and
inside we have ".swf (shockwave flash object), .xml (xml document), and
controller.swf (shockwave flash object)

Regards
R.R.Vishwanath
Desk: +91 80 26588360 Extn: 48555
Cell: +91 9008318114

-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2009d_at_ryandesign.com]
Sent: Thursday, November 19, 2009 6:30 AM
To: Ramachandran, Vishwanath(IE10)
Cc: Subversion Users
Subject: Re: Bad MIMETYPE configuration for .htm files accessed via SVN
HTTP

On Nov 18, 2009, at 05:30, vishwanath ramachandran_at_honeywell.com wrote:

>> Use e.g. "svn propset svn:mime-type image/jpeg file.jpg" on each file
in
>> the working copy, followed by "svn commit", to give it the correct
MIME
>> type in the repository.
>>
>> You can use automatic properties (auto-props) to automate the setting
of
>> svn:mime-type and other properties when new files are added on the
>> client.
>>
>> You can write a pre-commit hook to reject commits that add files with
>> improper or missing MIME types.
>
> How do I set this on server?

You can't set it so the server will assign MIME types automatically, if
that's what you want. You can only do the three steps I described above.

> I set svn mime-type on client, but still the videos do not play

Exactly what commands did you type? For example, if you have a QuickTime
video file, you should type something like this:

cd path/to/workingcopy
svn propset svn:mime-type video/quicktime video.mov
svn commit video.mov -m "add svn:mime-type"

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2419904

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-11-19 06:51:42 CET

This is an archived mail posted to the Subversion Users mailing list.