Missing index.html?
That is the default for busybox-httpd
call below code a file ledon.cgi, stick it in www/cgi-bin/
button on the HTML5 page calls the ledon.cgi file, now you have web control of GPIO.
#!/bin/sh
#echo "Content-type: text/html"
#echo ""
#echo "LED 22 is on"
echo 1 > /sys/class/gpio/gpio22/value
echo "HTTP/1.1 303 Found"
echo "Location: /index.html"
.cgi files are just scripts, could be a shell file calling micropython, lua, luajit etc
Anything that can run by calling it.
The trick to CGI is the echo "HTTP1.1 xxx" codes, 204, 303 etc