Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何修改Apache环境下phpinfo()文件中出现的“HTTP_CACHE_CONTROL”变量?
我在 UBUNTU 上有 root 访问权限。
表单中的所有环境变量HTTP_XXX都是从客户端接收到的 HTTP 标头。Header 名称为大写,-s 替换为_s,并HTTP_带有前缀。
HTTP_XXX
-
_
HTTP_
HTTP_CACHE_CONTROL从客户端接收到的 Cache-Control 标头的值也是如此。它不是在您的服务器上配置的,它基于客户端发送的内容。
HTTP_CACHE_CONTROL