yii2 url 重写 隐藏 index.php 方法

第一步  : 不论是  apache 仍是  nginx ,想要隐藏 Index.php 文件,须要打开  urlManager  组件的配置,在进行后续的操做php   第二步 :nginx nginx   下 :web 配置文件  nginx.conf 内容以下 :apache   user centos; worker_processes 4; error_log logs/erro
相关文章
相关标签/搜索