我有一个包含此内容的htaccess文件:
RewriteEngine On
RewriteRule ^/?([a-z]+)?$ $1.php [NC]
RewriteRule ^account/([0-9a-zA-Z]+) account.php?$1 [NC,L]
它的工作正在将我的网址https://example.com/account.php正确地重写为https://example.com/account/
$ _GET参数的工作原理: https://example.com/account/settings/但奇怪的是,如果我尝试访问https://example.com/account/servers/,则会将其重写为https://example.com/account/servers.php/ 它仅适用于"服务器"没有其他的参数