我正在尝试使用SSI将我的页脚调用到我的网站,但它无法正常工作。我不确定是否必须包含告诉服务器它是SSI的命令?
FOOTER FILE:
footer.shtml
<footer id="footer">
<div>
<div>
<div>
<p class="source"><i>“Unless someone like you cares a whole awful lot,
Nothing is going to get better. It's not.” ― Dr. Seuss, The Lorax</i></p>
</div>
<div class="source">
<p>© 2016 Climate Change. All Rights Reserved. </p>
<p>Terms of Use | Privacy Policy </p>
</div>
</div>
</div>
</footer>
打电话给文件:
<!--#include file="../climate-change/assets/resources/footer.shtml"-->