TP5.1 URL重寫

1.找到對應版本的php.ini文件 2.開啓cgi.fix_pathinfo=1 3.打開vhosts.conf,添加代碼if (!-e KaTeX parse error: Expected '}', got 'EOF' at end of input: … rewrite ^(.*) /index.php?s=/$1 last; } 完成,URL裏可以省去index.php了
相關文章
相關標籤/搜索