apache 日志报以下错误提示:NoCase option for non-regex pattern '-f' is not supported and will be ignored
[Sat Jul 11 23:06:22 2009] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
[Sat Jul 11 23:06:22 2009] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
[Sat Jul 11 23:06:23 2009] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
[Sat Jul 11 23:06:23 2009] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
[Sat Jul 11 23:06:24 2009] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
是不是静态化哪里有什么问题呢?网站一直运行正常,就是常出现这些错误日志
试试在根目录下的 .htaccess 文件中,将
RewriteCond %{REQUEST_FILENAME} !-f [NC]
改为
RewriteCond %{REQUEST_FILENAME} !-f [OR]
RewriteCond %{REQUEST_FILENAME} !-f [NC]
改为
RewriteCond %{REQUEST_FILENAME} !-f [OR]
转载请标明出处【apache 日志报以下错误提示:NoCase option for non-regex pattern '-f' is not supported and will be ignored】。
《www.micoder.cc》
虚拟化云计算,系统运维,安全技术服务.
| Tags: | [阅读全文...] |
最新评论