1.nginx 支持
对应的 .conf 文件中添加以下语句
location / { try_files $uri $uri/ /index.php?$query_string; }
或
location / { if (!-e $request_filename){rewrite ^/(.*)$ /index.php/$1 last;} }
1.nginx 支持
对应的 .conf 文件中添加以下语句
location / { try_files $uri $uri/ /index.php?$query_string; }
或
location / { if (!-e $request_filename){rewrite ^/(.*)$ /index.php/$1 last;} }