Make LuCIttpd work OOTB
[project/luci.git] / libs / sgi-luci / root / usr / lib / lucittpd / plugins / luci-webui.lua
index f237b85..1204667 100644 (file)
@@ -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