1

我将以下内容重写为server {}

rewrite ^/([^/]*)$ /Location.php?$1&$2&$3&$4&$5&$6&$7&$8&$9&$10;

我的Location.php注册文件夹中。仅当访问者在注册目录中时,我如何运行此规则?

4

1 回答 1

1

你不能简单地添加 /register 吗?像

rewrite ^/register/([^/]*)$ /register/Location.php?$1&$2&$3&$4&$5&$6&$7&$8&$9&$10 break;

怎么在文件夹Location.php里面你却没有写register/Location.php/register/Location.php

于 2013-07-18T03:47:12.430 回答