Hello,
A client of ours is trying to get their site compatible (Site #1) to byte-range requests as Apple requires it for some of its software. When performing the following test on their website:
curl -H Range:bytes=16- -I domain.org
We get the following:
HTTP/1.1 200 OK
Date: Thu, 28 Dec 2017 20:10:10 GMT
Server: Apache
X-Powered-By: PHP/5.3.29
Content-Type: text/html
As you can see, a 200 request is being returned when a 206 Partial Content is expected (and is what we want). On Site #2 located on the same server with the same VirtualHost content and no .htaccess or php.ini or CageFS differences, we get the following with the same test:
HTTP/1.1 206 Partial Content
Date: Thu, 28 Dec 2017 19:49:57 GMT
Server: Apache
Last-Modified: Wed, 20 Mar 2013 21:12:28 GMT
Accept-Ranges: bytes
Content-Length: 10881
Content-Range: bytes 16-10896/10897
Content-Type: text/html
The above is what we want with Site #1. What is the variable that needs to be changed?
A client of ours is trying to get their site compatible (Site #1) to byte-range requests as Apple requires it for some of its software. When performing the following test on their website:
curl -H Range:bytes=16- -I domain.org
We get the following:
HTTP/1.1 200 OK
Date: Thu, 28 Dec 2017 20:10:10 GMT
Server: Apache
X-Powered-By: PHP/5.3.29
Content-Type: text/html
As you can see, a 200 request is being returned when a 206 Partial Content is expected (and is what we want). On Site #2 located on the same server with the same VirtualHost content and no .htaccess or php.ini or CageFS differences, we get the following with the same test:
HTTP/1.1 206 Partial Content
Date: Thu, 28 Dec 2017 19:49:57 GMT
Server: Apache
Last-Modified: Wed, 20 Mar 2013 21:12:28 GMT
Accept-Ranges: bytes
Content-Length: 10881
Content-Range: bytes 16-10896/10897
Content-Type: text/html
The above is what we want with Site #1. What is the variable that needs to be changed?