解析 SSI 的单个文件

发布于 2024-12-17 08:40:55 字数 212 浏览 4 评论 0原文

我想从 httpd.conf 文件中解析 SSI 的单个文件(名为 footer.html)。

我该如何以及在哪里执行此操作?

在默认目录中,我有选项+ IncludesNoExec、XBitHack 等。Everythign 可以工作,只需要让它适用于这个单独的文件。

这是大学的一项课程作业,必须按照说明完成,而不是通过任何其他方法。

干杯!

I want to parse a single file (named footer.html) for SSI from my httpd.conf file.

How and where do I do this?

In the default directory I have options + IncludesNoExec, XBitHack on etc. Everythign works, just need to get it to work for this individual file.

This is for a piece of coursework for uni, and has to be done as explained, not via any other method.

Cheers!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

爺獨霸怡葒院 2024-12-24 08:40:55
 sudo chmod a+x /usr/local/www/common/footer.html
 sudo chmod a+x /usr/local/www/common/footer.html
凌乱心跳 2024-12-24 08:40:55

阅读 Apache 的 mod_include 模块: http://httpd.apache.org/docs/ 2.0/mod/mod_include.html

Read up on Apache's mod_include module: http://httpd.apache.org/docs/2.0/mod/mod_include.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文