RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
2014-12-02 13:04
1561 查看
报错提示:
原因:
在 -F 背后加入了[NC]参数
解决办法:
去掉[NC] 参数!
[Tue Dec 02 13:00:53.567492 2014] [rewrite:warn] [pid 10140:tid 3520] AH00665: RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored. (/home/xxx/.htaccess:48) [Tue Dec 02 13:00:53.567492 2014] [rewrite:warn] [pid 10140:tid 3520] AH00665: RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored. (/home/xxx/.htaccess:52)
原因:
在 -F 背后加入了[NC]参数
解决办法:
去掉[NC] 参数!
#如果存在生成的.html文件,指向 RewriteCond %{DOCUMENT_ROOT}/Html/%{HTTP_HOST}/$1/index.html -F RewriteRule ^(.*)$ Html/%{HTTP_HOST}/$1/index.html [L,T=text/html] #robots.txt 类似的文件直接指向Virtual文件夹 RewriteCond %{DOCUMENT_ROOT}/Virtual/%{HTTP_HOST}/$1 -F RewriteRule ^(.*)$ Virtual/%{HTTP_HOST}/$1 [L,T=text/html]
相关文章推荐
- Spring Boot中使用Feign调用时Hystrix提示异常:"could not be queued for execution and no fallback available."以及"Rejected command because thread-pool queueSize is at rejection threshold"
- UserWarning: The installed version of numexpr 2.4 is not supported in pandas and will be not be used
- Error: Flag android.useDeprecatedNdk is no longer supported and will be removed in the next version
- FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
- The breakpoint will not currently be hit. No symbols have been loaded for this document."
- 转:Debugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document“
- Asp.net :一个调试错误 Breakpoint will not currently be hit. No symbols loaded for this document.
- appfuse1.8.0安装app_user.enabled data type (1111, ‘bit’) not recognized and will be ignored错误解决办法
- MATLAB报错:MTIMES is not fully supported for integer classes. At least one input must be scalar.
- warning: no umbrella header found for target 'xxxxx', module map will not be generated
- ArcSDE for SQL Server建库提示:Case sensitive database is not supported
- 严重: Could not find action or result There is no Action mapped for namespace / and action name login.
- Asp.net :一个调试错误 Breakpoint will not currently be hit. No symbols loaded for this document.
- Struts2:(No result defined for action ** and result input) is not available.
- iOS iOS8中 问题"registerForRemoteNotificationTypes: is not supported in iOS 8.0 and later" 解决方案
- SQL Server error "Xml data type is not supported in distributed queries" and workaround for it
- Debugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document
- website the breakpoint will not currently be hit. no symbols have been loaded for this document
- 解决"The breakpoint will not currently be hit. No symbols have been loaded for this document" 错误
- iOS iOS8中 问题"registerForRemoteNotificationTypes: is not supported in iOS 8.0 and later" 解决方案