2011/9/30 D, Dinoj <dino...@honeywell.com>:
> Hello,
>
>
>
> 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

The above is *Request*Header,  but you want to modify the Response
header, not a Request one.

There is "Header" directive for that purpose,  though I have not tried it.

I'd prefer to set correct mime-types on the files.

>
> </IfModule>
>

Best regards,
Konstantin Kolinko

Reply via email to