diff options
author | Steven Barth <steven@midlink.org> | 2008-12-07 11:47:59 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-12-07 11:47:59 +0000 |
commit | 506822ee7080e86584a4f6436aeeb8edb411c88e (patch) | |
tree | 9bc823e936e44b0a6e16f7b2a14520c30e12a31c /libs/sgi-luci/root/usr/lib/lucittpd | |
parent | a2d1ca7af0e72c451b31c7a35e13df9583de048e (diff) |
Make LuCIttpd work OOTB
Diffstat (limited to 'libs/sgi-luci/root/usr/lib/lucittpd')
-rw-r--r-- | libs/sgi-luci/root/usr/lib/lucittpd/plugins/luci-webui.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libs/sgi-luci/root/usr/lib/lucittpd/plugins/luci-webui.lua b/libs/sgi-luci/root/usr/lib/lucittpd/plugins/luci-webui.lua index f237b85388..1204667892 100644 --- a/libs/sgi-luci/root/usr/lib/lucittpd/plugins/luci-webui.lua +++ b/libs/sgi-luci/root/usr/lib/lucittpd/plugins/luci-webui.lua @@ -11,6 +11,7 @@ end -- Register luci function register() - local lucihnd = require "luci.ttpd.handler.luci" - httpd.server:get_default_vhost():set_handler("/luci", lucihnd.Luci()) -end
\ No newline at end of file + local lucihnd = require "luci.ttpd.handler.luci".Luci() + httpd.server:get_default_vhost():set_handler("/luci", lucihnd) + httpd.server:get_default_vhost():set_handler("/cgi-bin/luci", lucihnd) +end |