我有更改扩展名的规则
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^item/(.*)/?$ item.php/$1 [NC,L]
RewriteRule ^([^.]+)$ $1.php [NC,L]
一切都很好但是这条规则也过滤了苹果应用网站关联
需要跳过 apple-app-site-association 但过滤其他
我尝试在下面添加代码但无济于事
RewriteRule ^apple([a-z]+)$ $1 [NC,L]
RewriteRule apple-app-site-association$ $1 [NC,L]
RewriteRule ^apple([a-z]+)$ $1 [NC,L,S=2]