2 LuCI - Lua Configuration Interface
4 Copyright 2008 Steven Barth <steven@midlink.org>
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
14 m = Map("httpd", "Busybox HTTPd", translate("a_srv_http1"))
16 s = m:section(TypedSection, "httpd", "")
20 port = s:option(Value, "port", translate("port"))
23 s:option(Value, "home", translate("a_srv_http_root"))
25 config = s:option(Value, "c_file", translate("configfile"), translate("a_srv_http_config1"))
28 realm = s:option(Value, "realm", translate("a_srv_http_authrealm"), translate("a_srv_http_authrealm1"))