intermittent problems reaching files (whether served via php or not)
nginx-forum at nginx.us
Wed Nov 19 14:04:38 UTC 2014
having difficulty to serve simple video files here (for playback in a
browser via video-js or other player). even without the video player there
i have tested access to the video file both when the file is served from
within the php framework i am using (elgg.org) and also directly from a
public location on the webserver. in some circumstances the file 'might'
play and in others i see a variety of different outcomes - and i am not
aware of the causes of any of the behavior patterns.
when accessing the following file (which is not being served via PHP
handling, it is just a directly accessed static file, served from nginx)
firefox i am offered the option to view or download the file (as expected):
when i access the same file from chromium i am forwarded to the homepage of
when i access the same file from curl in the terminal here, i see:
HTTP/1.1 301 Moved Permanently
Date: Wed, 19 Nov 2014 13:31:28 GMT
Strict-Transport-Security: max-age=31536000; includeSubdomains
when i run curl to access the same file being served through elgg and php i
HTTP/1.1 302 Moved Temporarily
Date: Wed, 19 Nov 2014 13:29:59 GMT
Set-Cookie: Elgg=gfjvl4tdrb30sqpasmketmmm22; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0,
<head><title>301 Moved Permanently</title></head>
<center><h1>301 Moved Permanently</h1></center>
does anyone know why there are so many variations of outcomes here? and what
might be the reason why the file is not being consistently return with a 200
code? (or other equivalent success code).
the end result is that i am unable to play flv and other files from my
webserver via video-js and other players.
i have spoken with the server host about this and they did not identify that
any of their actions would cause this to occur.
any help is greatly appreciated.
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,254921,254921#msg-254921
More information about the nginx