我们致力于一个Apache知识的分享网站

Archive for 二月, 2009

header Content-Type类型

具体使用如:header(‘Content-Type: audio/mpeg’);

最近在做MP3防盗链时要查的header的相关信息,网上关于MP3的Content-Type的就有五花8门,下面应该是比较全而且正确的。

header Content-Disposition参数说明

Content-Disposition参数:
attachment — 作为附件下载
inline — 在线打开
具体使用如:header(“Content-Disposition: inline; filename=文件名.mp3″);

header中的Cache-control参数说明

网页的缓存是由HTTP消息头中的“Cache-control”来控制的,常见的取值有private、no-cache、max-age、must-revalidate等,默认为private。

Apache日志文件(配置和管理)

Apache日志文件(配置和管理)

Apache并发控制、查看进程数、TCP连接、压缩功能说明

一:apache有关并发控制
二:查看httpd进程数(即prefork模式下Apache能够处理的并发请求数)
三:查看Apache的并发请求数及其TCP连接状态
四:检查apache是否支持压缩功能

Page 2 of 1012345...Last »