[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: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Fri, 30 Sep 2011 14:07:47 +0300

Also, I'm sure there is a mod_dav_svn httpd.conf directive to make
mod_dav_svn consult mime.types when the property is not set.

Ryan Schmidt wrote on Fri, Sep 30, 2011 at 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 13:08:34 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.