我已经更新了我的apache版本,但是curl仍显示早期版本

时间:2018-08-20 19:07:54

标签: apache server centos6

几天前,我已将apache版本从2.2.15更新为2.4.34。

当我在托管我的站点的linux centos6服务器上运行命令时: httpd -v返回

Server version: Apache/2.4.34 (Unix) Server built: Aug 18 2018 13:25:14 但是当我尝试使用curl --head mysite.com时 向我展示了不同版本的apache

....Other infos.... Server: Apache/2.2.15 (CentOS) ....Other infos....

有人可以帮助我,为什么会这样。 压力 我已经重启了很多次httpd! 我的操作系统是Centos 6.10

1 个答案:

答案 0 :(得分:0)

此答案: https://serverfault.com/questions/698077/does-curl-cache-requests

尝试做curl --head mysite.com?foo=bar

curl -v -H "Cache-Control: no-cache" --head mysite.com

相关问题