I want to open up a captive portal using uhttpd..
I can use Lua or cgi.. both is fine..
The only prerequisite is , the process that gets called for serving the request from uhttpd must be a pre existing process.. a new process should not be spawned for the same..
The reason is, this process listens to some ongoing events and will attach some additional info to the url that it redirects to..