【问题标题】:ssi an error occurred while processing this directivessi 处理此指令时发生错误
【发布时间】:2013-05-14 16:40:34
【问题描述】:

我的 shtml 文件中出现以下错误

[an error occurred while processing this directive]

包含另一个文件时不会发生此错误,当我执行以下表达式时会发生此错误:

<!--#if expr="$QUERY_STRING = open-updates" --> open<!--#endif -->

我正在使用 xampp 在 Windows 机器上运行这个开发环境

【问题讨论】:

  • 对不起,我忘了把代码标签出来,所以如果没有显示出来

标签: windows apache ssi shtml


【解决方案1】:

原来我必须在我的 httpd.conf 中加入以下指令

SSILegacyExprParser on

我使用的 shtml 文件最初来自旧版 apache 服务器 (1.X)

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-01-20
    • 2022-01-09
    • 1970-01-01
    相关资源
    最近更新 更多