I am trying to set up uhttpd to serve luci on the default port 80 and a different page/set of pages on port 100.
The page uhttpd server configuration indicates that I simply have to include another config uhttpd main section in the same /etc/config/uhttpd file and uhttpd will start up a second instance but that isn't working for me / I have a problem with the syntax in the file so no other uhttpd instance starts, just one.
I have set up a /site directory, put an index.html file in there and it will display if I use a uhttpd config file which does not include any of the default text from the main section.... so I don't think that it's a permission problem.
I have also tried creating a fu.html file in the /www directory and simply accessing that by pointing my browser at /fu.html. This results in that page flashing by briefly and then being replaced by the luCi login page. Clearly there is some magic / redirect setting which I haven't found in the documentation.
I'd be happy to correct the docs, if somebody can give me a working solution.
on my /etc/config/uhttpd file, I have added FusionPBX on port 81 and is shown below. You can certainly change the port to 100. I hope it will shed some light to you.
I quadruple checked that (both the files and the cache)... those are generic troubleshooting techniques which I'm quite familiar with but thanks for the reminder.
OK, thanks. I have experience, just not much on embedded devices/ openwrt/ uci.... I graduated university with a degree in computer science in 1987 ;).
I'm always happy to use tools which make things more foolproof. Now that I've found the UCI System page I'll poke harder at it/ familiarize myself with that method. This will let me more fully de-cypher the solution that you suggested.