-- 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