问个基础问题 假如我目录下有logo.gif了 他还会重写到 引用 baidu的logo上去
我想要 假如目录下没有logo.gif 则 引用百度logo 如果有 则引用本地文件 可以在这里用规则实现么?
回复讨论(解决方案)
写规则应该做不到判断是否存在logo.gif
写规则应该做不到判断是否存在logo.gif
已经问到了
RewriteCond %{REQUEST_FILENAME} !-f 加上这句就好了
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn