Skip to main content

Questions tagged [uhttpd]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
438 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 ...
user avatar
1 vote
1 answer
4k 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 ...
sameera's user avatar
  • 304
4 votes
4 answers
33k 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 ...
user avatar
3 votes
2 answers
6k 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-...
bigjosh's user avatar
  • 599