^([^news|home|rules|contacts|month_films|archive|ratings])$
但它不起作用。 你能告诉我为什么吗?感谢
答案 0 :(得分:1)
在这种情况下,放一个!在正则表达式前面并使用RewriteCond:
RewriteCond %{REQUEST_URI} !(news|home|rules|contacts|month_films|archive|ratings)
RewriteRule <whatever it is you want to do>
答案 1 :(得分:0)
试试这个(没有[]):
^(news|home|rules|contacts|month_films|archive|ratings)$