Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要 apache 中的 IndexIgnore 规则,它只允许 fx。要显示的 .gif 文件...
所以这是“伪”代码:
IndexIgnore !*.gif
我该怎么做?
我认为您不能通过 IndexIgnore 做到这一点。 这是通配符表达式,而不是正则表达式。
File is a shell-style wildcard expression or full filename.