network/services/uhttpd: Add Basic Auth config
authorDaniel Dickinson <openwrt@cshore.thecshore.com>
Sat, 13 Aug 2016 23:32:21 +0000 (19:32 -0400)
committerDaniel Dickinson <openwrt@cshore.thecshore.com>
Sat, 13 Aug 2016 23:32:21 +0000 (19:32 -0400)
commitc2eff9bbe3a30f705e16363a581c0f45bf51c948
tree67c87246e86025ad8cc18adec8752b800a5d6b40
parentd175c09bea24b0a52d15350f025ca418f5f066c5
network/services/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 <openwrt@cshore.thecshore.com>
package/network/services/uhttpd/files/uhttpd.config
package/network/services/uhttpd/files/uhttpd.init