#1
  1. No Profile Picture
    Loves Diesel Generators
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2004
    Location
    Lincs - UK
    Posts
    661
    Rep Power
    84

    Apache Closes Connection - IE10 Video


    Hi all,

    Hoping someone knows the answer to this! The problem I am having is with IE10 video from Apache (2.2.14).

    The video works fine when played locally off my machine in IE10 in html5). It also works fine when the URL is typed into the browser bar (IE10 then loads Quicktime to play it from the URL).

    the only time it doesn't work is when its on the server and embedded in a page. I have checked using IE developer tools and I have the following:

    Request Headers:
    Code:
    Key	Value
    Request	GET /video/mp4/generators/cp1602/1602_turntable_web_640x480_30seconds.mp4 HTTP/1.1
    User-Agent	Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)
    Accept	*/*
    Referer	http://www.wellandpower.net/
    GetContentFeatures.DLNA.ORG	1
    Pragma	getIfoFileURI.dlna.org
    Accept-Language	en-GB
    Accept-Encoding	gzip, deflate
    Host	www.wellandpower.net
    DNT	1
    Connection	Keep-Alive
    Cookie	PHPSESSID=81bl7h64uh7igtdq1svb3od514; __utma=10712498.343877558.1377504795.1377504795.1377504795.1; __utmb=10712498.41.10.1377504795; __utmc=10712498; __utmz=10712498.1377504795.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)

    Response Headers:
    Code:
    Key	Value
    Response	HTTP/1.1 200 OK
    Date	Mon, 26 Aug 2013 09:49:26 GMT
    Server	Apache/2.2.14 (Fedora)
    Last-Modified	Mon, 26 Aug 2013 08:43:20 GMT
    ETag	"2c85e-2d52ce-4e4d5bf919a00"
    Accept-Ranges	bytes
    Content-Length	2970318
    Vary	user-Agent
    Connection	close
    Content-Type	video/mp4


    I don't know why Apache is sending "close" for the connection? Could anyone suggest what might be wrong?

    The following is in the httpd.conf to stop compression of the mp4 file as if it is served compressed, IE10 won't play it either!
    Code:
    <IfModule mod_deflate.c>
    SetOutputFilter DEFLATE
    SetEnvIfNoCase Request_URI \.(?:gif|png|zip|pdf|mp4|ogv|webm)$ no-gzip dont-v
    <IfModule mod_headers.c>
            Header append Vary user-Agent
    </IfModule>


    Edited to add: I have just changed the "don't-v" to "dont-vary" as I couldn't find that don't-v was acceptable, it might have come as part of an editing error?
    Last edited by wellandpower; August 26th, 2013 at 06:28 AM.
    If I helped you by some stroke of luck, please add to my reputation by clicking on the icon at the top of my post!
    Perkins Diesel Generators Volvo Diesel Generators xxl.me.uk (my Site)

IMN logo majestic logo threadwatch logo seochat tools logo