Dav*_*ese 4 virtual ssi include
我的网站设置为使用 SSI,并且运行良好。
但是,当我尝试通过 SSI 包含文件时,它不适用于我使用相对路径。例如,以下工作
<html>
<head>
<!--#include virtual="include/head.shtml" -->
</head>
</html>
Run Code Online (Sandbox Code Playgroud)
但这不是(假设文件存在)
<html>
<head>
<!--#include virtual="../include/head.shtml" -->
</head>
</html>
Run Code Online (Sandbox Code Playgroud)
有什么我遗漏的地方,或者有什么方法可以获得有关此错误的更多信息。