网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 时尚美容

phpcms安装完后还是会跳到install/install.php

时间:2024-11-15 23:49:01

1、默认在安装前,phpcms项目目录下面的index.html的内容是:<html><head><title>phpcms</title><META HTTP-EQUIV="pragma" CONTENT="no-cache"><META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate"><META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT"><meta http-equiv="refresh" content="0;URL=./install/install.php"></head><body></body></html>

phpcms安装完后还是会跳到install/install.php

2、就是因为<meta http-equiv="refresh" content="0;URL=./install/install.php">这句才使得,自动跳转到./install/install.php的

3、虽然安装后,发现index.html内容变了,但是浏览器仍然还有旧版本index.html的缓存。

phpcms安装完后还是会跳到install/install.php

4、只有情况完缓存,之后才OK,对于为什么浏览器会强制缓存index.html的数据呢?meta里面不是说明了,不缓存么?为什么会这样呢?

phpcms安装完后还是会跳到install/install.phpphpcms安装完后还是会跳到install/install.php
© 2025 小知经验
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com