如何从以下.htaccess重写规则中排除特定文件类型?

hsa*_*ite 5 .htaccess mod-rewrite file-type

如何从以下重写规则中排除特定文件类型(xml和txt)?

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteRule ^(.*)$ http://website.com/$1/ [QSA,L,R=301]
Run Code Online (Sandbox Code Playgroud)

M'v*_*'vy 13

关于什么 :

RewriteCond %{REQUEST_URI} !\.(xml|txt)$
Run Code Online (Sandbox Code Playgroud)