#1 liquan
先加上 Nginx伪静态location / { if (!-e $request_filename){ rewrite (.*) /index.php; >location ^~ /protected { deny all;}第二步,在/protected/config.php加上 'login.html' => 'login/index', 'index.htm' => 'main/index', 'index/
.htm' => 'main/index', 'view/ .htm' => 'main/list', 'admin/
2018-09-07 10:38:43