thinkphp5.1 隱藏url的index.php

首先是 Apache 不是nginx 第一: httpd.conf配置文件中加載了mod_rewrite.so模塊 第二: AllowOverride None 將None改爲 All #這是tp5官方寫的 我沒改 也沒問題# 第三: *將 index.php 和 .htacess 文件移出到和Public 文件平級目錄 第四: 修改.htacess 文件的內容爲 <IfModule mod_re
相關文章
相關標籤/搜索