比方说,这是我的主HTML页面的一部分 的index.html <div id="content1">This is my content #1</div>
<div id="content2">This is my content #2</div>
现在我想使用SSI(服务器端包含)在我的主网页渲染两个内容,但使用相同的包含文件,如方法: contents.shtml #_content_
在我的public_html文件夹中,我有以下目录: - includes (in here I have header.php which is included in index.php)
- images
- styles
- scripts
index.php包括header.php,这是我引用我的样式,脚本,图片等 一切都很好直到我尝试直接从包含header.php的inclu