Questions tagged [uhttpd]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

Uhttpd requests stucks my device

I have a Web Server running on a devices under uhttpd. I have N devices ( N could be 25 ) that send request to the main devices. Everything works correctly when the main devices is running, but during ...
0
votes
1answer
230 views

How do I create a simple script to kill uhttpd and then start lighttpd?

I have a router running uhttpd by default and there is a process using lighttpd I would like to run instead. Since both processes share the same port, I would like to kill uhttpd then start up ...
1
vote
1answer
2k views

How can I run sed to replace lines in a file or do similar things in PHP?

I am writing a web frontend for configuring OpenWRT. I'm using PHP to execute commands and all the uci commands are executing without issues. However, OpenVPN configurations cannot be done via UCI and ...
3
votes
4answers
15k views

Display hostname in static HTML page on uhttpd

I have a docker container running uhttpd and serving a static HTML page. How can I dynamically insert the hostname of the container into the static HTML page? I want to keep the container as ...
3
votes
2answers
4k views

Unable to launch the requested CGI program: /www/cgi-bin/first.cgi: Text file busy

I'm trying to make a very simple shell script to run as a CGI on a uhttpd server running on an OpenWRT install. The file is called /www/cgi-bin/first.cgi and looks like... #!/bin/sh echo "Content-...