You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Leon <le...@thecus.com> on 2005/11/15 10:56:26 UTC

[users@httpd] use php implement HTTP RANGE

as title....
httpd.conf

<Location /sharing>
SetHandler sharing-file
Action sharing-file /usr/pre_sharing.php
</Location>

/sharing/test.avi

RANG: bytes=23332-

the Apache Server auto reponse 416 error

I try to use ErrorDocument 416 ....but it still send 416 response

maybe apache is use /usr/pre_sharing.php,not use /sharing/test.avi for RANGE

so Apache response 416 error

How do I cancel or ignore 416 error from apache,don't send this header to client