Ryan Schmidt wrote on Tue, May 10, 2011 at 02:41:25 -0500:
> 
> On May 10, 2011, at 02:24, D, Dinoj wrote:
> 
> > Thanks for your prompt response. The content type should be worked only
> > while accessing the files through web browser.The problem here we are
> > facing is that while accessing the files through web browser the
> > extensions .docx, .pptx, .xlsx are opening as zip files.  The
> > configuration for SVN in apache is 
> > 
> > <Location /repo/test>
> > DAV svn
> > SVNPath /repo/Test
> > 
> > </Location>
> > 
> > 
> > In which can we point the content to conf/mime.types file using 
> > 
> > TypesConfig conf/mime.types
> > 
> > Or is there any methods like
> > 
> > ModMimeUsePathInfo on
> > 
> > Or
> > AddType image/gif .gif or if any? 
> 
> No. Set the svn:mime-type property to the correct value on these files.
> 

If nothing else, it ought to be technically possible to throw an HTTP
proxy that detects file extensions on GET requests to the mod_dav_svn
-controlled location and rewrites the Content-Type for those.

So, I'd expect there to be a way to configure httpd to bypass
mod_dav_svn's reported MIME types.

> 
> 

Reply via email to