[HELP] SSI usage with netutils/thttpd

未关闭
#3,134 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
20/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
c

调研方向

使用 issue 中描述的 index.html 和 cgi-bin/ssi/index.html 路径重现 SSI 请求,然后检查 thttpd 的 SSI 和 CGI 入口点。确定是否支持 date 指令,并记录使该行为正常工作所需的预期 URL 或源代码更改和测试。

由索引模型根据 Issue 内容生成。

描述

Community: Question
Description

I am successfully using the thttpd library to serve my pages and run custom cgi scripts but I have not managed to coerce it to parse the index.html page for simple SSI directives such as date.

As best as I can find out - and I appreciate this is not "native" nuttx-apps and is quite old - I should be able to get it to parse by changing the usual URL http:/10.0.0.1/index.html to a URL like this: http:/10.0.0.1/cgi-bin/ssi/index.html (which is where the cgi "applications" are located, albeit virtually I think)

But I might be missing the point?

It's not a big deal as I can sort this using my own CGI script, in the style of a REST API or something, but it annoys me that I can't get it to work!

Verification
  • I have verified before submitting the report.
主要语言
C
星标
474
派生
807
平均合并
1 天 11 小时
30 天内合并 PR
181

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

apache/nuttx-apps 的其他 Issue

查看 apache/nuttx-apps 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。