且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

匹配所有字母/数字组合,但匹配特定单词吗?

更新时间:2023-02-09 20:12:57

Apache mod-rewrite应该具有明确定义的顺序,以了解如何通过RewriteRules进行解析,以及在发生冲突时遵循的规则.

Apache mod-rewrite should have a well-defined order of how it parses through the RewriteRules and which rule it will follow if there are conflicts.

假设它将遵循第一个匹配规则,只需在通用规则之前定义特定规则即可.

Assuming it will follow the first matching rule, simply define the specific rules before the general one.