Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| docs:guide-user:luci:luci.on.lighttpd [2019/11/30 23:04] – Updated cgi-bin handling to work with latest LUCI oldium | docs:guide-user:luci:luci.on.lighttpd [2021/04/23 14:01] – oldium | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== LuCI on lighttpd ====== | ====== LuCI on lighttpd ====== | ||
| - | This article explains how to run the [[docs: | + | LuCI is the main web administration utility for OpenWrt. |
| - | LuCI is the main web administration utility for OpenWrt. By default | + | |
| - | This is the howto for lighttpd. | + | You can use other web servers |
| See also: | See also: | ||
| Line 8: | Line 8: | ||
| * [[docs: | * [[docs: | ||
| * [[docs: | * [[docs: | ||
| + | |||
| + | :!: From the lighttpd server **version 1.4.56**, the HTTP/2 is enabled by configuration, | ||
| ===== Installation ===== | ===== Installation ===== | ||
| Line 18: | Line 20: | ||
| </ | </ | ||
| **NOTE**: The **libiwinfo** package is only needed if your router has wireless. | **NOTE**: The **libiwinfo** package is only needed if your router has wireless. | ||
| + | |||
| + | Since lighttpd package version 1.4.56 the **SSL** module is not installed by default and you need to install one: | ||
| + | < | ||
| + | # Check the up-to-date list of lighttpd modules | ||
| + | opkg list lighttpd* | ||
| + | # Choose one and install it, version 1.4.56 offers lighttpd-mod-gnutls, | ||
| + | opkg install lighttpd-mod-openssl | ||
| + | </ | ||
| Then choose a LuCI theme | Then choose a LuCI theme | ||
| Line 45: | Line 55: | ||
| "/ | "/ | ||
| "/ | "/ | ||
| + | "/ | ||
| "/ | "/ | ||
| </ | </ | ||
| Line 58: | Line 69: | ||
| "/ | "/ | ||
| "/ | "/ | ||
| + | "/ | ||
| "/ | "/ | ||
| ) | ) | ||
| Line 78: | Line 90: | ||
| < | < | ||
| ## Necessary LUCI configuration | ## Necessary LUCI configuration | ||
| - | cgi.assign += ( " | + | cgi.assign += ( "/cgi-bin/ |
| - | " | + | "/cgi-bin/ |
| - | " | + | "/cgi-bin/ |
| - | " | + | "/ |
| + | "/cgi-bin/ | ||
| server.username := "" | server.username := "" | ||
| Line 87: | Line 100: | ||
| </ | </ | ||
| - | Or use a catch-all-CGI syntax: | + | Or specify |
| - | + | ||
| - | < | + | |
| - | ## Necessary LUCI configuration | + | |
| - | cgi.assign += ( "" | + | |
| - | + | ||
| - | server.username := "" | + | |
| - | server.groupname := "" | + | |
| - | </ | + | |
| - | + | ||
| - | Or do this just for ''/ | + | |
| < | < | ||
| Line 110: | Line 113: | ||
| ☝ The key to understand it is that '' | ☝ The key to understand it is that '' | ||
| + | |||
| + | ==== HTTP/2 Issue Workaround ==== | ||
| + | |||
| + | OpenWrt enabled HTTP/2 in version 1.4.56 in the configuration, | ||
| + | |||
| + | < | ||
| + | server.feature-flags += (" | ||
| + | server.feature-flags += (" | ||
| + | </ | ||
| + | |||
| ==== Finalizing the configuration ==== | ==== Finalizing the configuration ==== | ||