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

Re: Setting content type

From: Ryan Schmidt <subversion-2011a_at_ryandesign.com>
Date: Fri, 30 Sep 2011 05:55:24 -0500

On Sep 30, 2011, at 03:40, D, Dinoj wrote:

> If we are accessing subversion repository through WebDev module , then the content type will be send to the client depend the property what we have set for files. It won’t look into apche mime types. But there is a way to edit the header information for Content-type
>
> For example:
> <IfModule headers_module>
> SetEnvIf Request_URI "\.docx$" docx_file
> RequestHeader edit Content-Type "application/vnd.openxmlformats-officedocument.wordprocessingml.document" env=docx_file
> </IfModule>
>
> But it is not working, could you please help me to configure this with svn ?

The intended use is that you set svn:mime-type to the correct value on each file. I'm not familiar with this other method you're trying.
Received on 2011-09-30 12:56:05 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.