简体   繁体   English

ssi处理此指令时发生错误

[英]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.

相关问题 在 python 中运行程序时出现导入错误,出现以下错误消息 - import error while running a program in python the following error message occurred 在 Jupyter Notebook 中创建新笔记本时发生错误 [权限被拒绝] - Error occurred while creating new notebook in Jupyter Notebook [Permission Denied] 呼叫o227.run时发生错误 - An error occurred while calling o227.run 使用py2exe时发生以下错误 - The following error occurred while using py2exe 尝试共享D.功能不正确时发生错误。 - An error occurred while trying to share D. Incorrect function. Windows上的回形针:[回形针]处理时收到错误:# <Paperclip::Errors::NotIdentifiedByImageMagickError> - Paperclip on Windows: [paperclip] An error was received while processing: #<Paperclip::Errors::NotIdentifiedByImageMagickError> 获取Spoon.net插件错误:“启动应用程序时发生错误” - Getting Spoon.net Plugin Error: “An error occurred while launching the application” 处理功能时检测到错误 <SNR> 91_NetrwBrowseChgDir: - Error detected while processing function <SNR>91_NetrwBrowseChgDir: 创建 TLS 客户端凭据时发生致命错误。 内部错误state为10013 - A fatal error occurred while creating a TLS client credential. The internal error state is 10013 华硕笔记本电脑无法在 Visual Studio 中与 MacBook Air 配对,“检查 SSH 配置时发生意外错误...” - Asus Laptop Unable To Pair With MacBook Air In Visual Studio, "An unexpected error occurred while checking the SSH configuration..."
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM