我已经安装了php + apache。从一个php文件,我使用header()函数发送一些标题。
header("HTTP/1.1 200 OK");
header("Connection: Keep-Alive");
header("Content-Type: video/mp2t");
但我不希望apache发送自己的标头。如果我执行PHP文件,我会得到这些标题:
HTTP/1.1 200 OK
Date: Tue, 15 Apr 2014 10:26:57 GMT
Server: Apache/2.2.22 (Debian)
X-Powered-By: PHP/5.4.4-14+deb7u8
Connection: Keep-Alive, Keep-Alive
Keep-Alive: timeout=5, max=100
Transfer-Encoding: chunked
Content-Type: video/mp2t
如何阻止apache发送自己的标头?