[Mono-aspnet-list] ASP.NET and .mp4 mime type

aladinsane hvorblevden at gmail.com
Sat Jul 3 15:37:45 EDT 2010


I'm having an odd problem with an ASP.NET media portal I've created. The
portal handles different types of media files (video, pictures and audio)
and everything works as it should. However, when I link to a mp4-file the
browser prompt to download the file instead of opening it, and since the
portal is intended for iPhone use as well, it means that the entire video
part is more or less useless on iPhone.

I'm running Mono 2.4 on a Ubuntu 10.10 server using apache2 with mod_mono.
Apache2 is setup to handles the mp4-mime type and if I copy a mp4 file to a
non ASP.NET location on the webserver I can access it without problem on
both desktop and iPhone.

It smells like a configuration error. Any good ideas? Do mod_mono have it's
own mime type configuration? 

View this message in context: http://mono.1490590.n4.nabble.com/ASP-NET-and-mp4-mime-type-tp2277394p2277394.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.

More information about the Mono-aspnet-list mailing list