首页模板跳转
<a href="{:Url('index/user/index')}">跳转</a>
点击之后跳转到
http://127.0.0.1/tp6/user/index.html
少了入口文件index.php
正常 http://127.0.0.1/tp6/index.php/user/index.html
可以访问
请问,这是怎么回事?
首页模板跳转
<a href="{:Url('index/user/index')}">跳转</a>
点击之后跳转到
http://127.0.0.1/tp6/user/index.html
少了入口文件index.php
正常 http://127.0.0.1/tp6/index.php/user/index.html
可以访问
请问,这是怎么回事?
网站当中的index.php往往会让恶意用户得到过多的项目细节信息,去掉网站链接中的index.php,可以大大提高网站的安全性。
这是项目或者服务器中配置了 url重写