[英]ssi an error occurred while processing this directive
I get the following error in my shtml files 我的shtml文件中出现以下错误
[an error occurred while processing this directive]
This error does not happen when including another file, it happens when I do if expressions like: 包含另一个文件时不会发生此错误,当我执行以下表达式时会发生此错误:
<!--#if expr="$QUERY_STRING = open-updates" --> open<!--#endif -->
I am running this dev environment on a windows machine using xampp 我在使用xampp的Windows机器上运行这个开发环境
Turns out I had to put the following directive in my httpd.conf 事实证明我必须在httpd.conf中添加以下指令
SSILegacyExprParser on
The shtml files I am using came originally from a legacy apache server (1.X) 我使用的shtml文件最初来自传统的apache服务器(1.X)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.