Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
| zh-cn:doc:howto:http.uhttpd [2018/03/03 21:29] – ↷ Links adapted because of a move operation | zh-cn:doc:howto:http.uhttpd [2022/12/26 12:11] – 同步英文版内容 heybrowhatsup | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== uHTTPd ====== | ====== uHTTPd ====== | ||
| - | **uHTTPd** 是一个 OpenWrt/ | + | **uHTTPd** 是一个 OpenWrt/ |
| + | 当然,uHTTPd 也能提供一个常规 Web 服务器所需要的所有功能。 | ||
| + | |||
| + | 其源代码可在以下 git 存储库中找到: | ||
| + | |||
| + | * https:// | ||
| ===== 特性 ===== | ===== 特性 ===== | ||
| Line 15: | Line 20: | ||
| opkg install uhttpd | opkg install uhttpd | ||
| - | 此外,可以通过安装 LuCI [[webinterface.overview|Web 界面]]以将 uHTTPd 作为其一个依赖包来安装。此方法会同时安装 [[zh-cn/doc: | + | 此外,可以通过安装 LuCI [[zh: |
| ===== 配置 ===== | ===== 配置 ===== | ||
| - | uHTTPd 的配置自 OpenWrt 10.03 (Backfire) 开始便很好地与 OpenWrt 的 [[zh-cn/doc:UCI]] 集成在一起。它的 UCI 配置文件为 ''/ | + | uHTTPd 的配置自 OpenWrt 10.03 (Backfire) 开始便很好地与 OpenWrt 的 [[zh:docs:guide-user:base-system: |
| uHTTPd 提供了一个启动脚本 / | uHTTPd 提供了一个启动脚本 / | ||
| + | |||
| + | ==== Using the default installation for publishing files ==== | ||
| + | One could use the default installation for publishing files. | ||
| + | A quick example is to disable the redirect to luci scripts. | ||
| + | |||
| + | <code bash> | ||
| + | mv / | ||
| + | </ | ||
| + | |||
| + | Done this anything is shown as list of file and even symbolic links works. | ||