uhttpd: Add Basic Auth config
authorDaniel Dickinson <lede@cshore.thecshore.com>
Sat, 13 Aug 2016 23:24:59 +0000 (19:24 -0400)
committerJo-Philipp Wich <jo@mein.io>
Mon, 31 Oct 2016 12:22:51 +0000 (13:22 +0100)
commit98c86e29705cb1e73e4f2e16044f1e73cff32e31
tree84e93cd71f196365f89027decc4bcee6eb295ca5
parent671cb35880308404a17c430c4b3b13dd506a5671
uhttpd: Add Basic Auth config

We add an 'httpauth' section type that contains the options:

prefix: What virtual or real URL is being protected
username: The username for the Basic Auth dialogue
password: Hashed (crypt()) or plaintext password for the Basic Auth dialogue

httpauth section names are given included as list
items to the instances to which they are to be applied.

Further any existing httpd.conf file (really whatever
is configured in the instance, but default of
/etc/httpd.conf) is appended to the per-instance httpd.conf

Signed-off-by: Daniel Dickinson <lede@cshore.thecshore.com>
package/network/services/uhttpd/files/uhttpd.config
package/network/services/uhttpd/files/uhttpd.init