I have some industrial ARM linux board with 2.6.34 Linux on it with Busybox
v1.15.0.
The https.conf is located in /etc/ and contains:
H:/root/web
In the www directory I also have 'cgi-bin' folder with chmod 777 and in that folder a file called 'testcgi'.
Now I start the server with
httpd -v
on the target. I can access the index.html by typing the IP of the target from my host. But If I want to execute my cgi script by calling
IP-of-the-target/cgi-bin/cgitest
in the browser I get "404 page not found".
I also tried to put some directives in my https.conf like A:* or /root/web/cgi-
bin:foo:bar but then if I try to run the server in the console I get:
): No such file or directory.
Also if I try to run the script from the sh console with
./testcgi
I get
-sh: ./testcgi.sh: not found
or if I do the full path with
/root/web/cgi-bin/testcgi.sh
I still get "not found"
So I am completely stuck here, need you help please.
Oh and I checked some articles about httpd like:
Using the busybox HTTP server - ChumbyWiki
http://wiki.openwrt.org/doc/howto/http.httpd
and they don't tell anything about turning the CGI on,
imlplying the CGI should work on httpd by default.CGI not working with httpd server on busybox 1.15.0 on ltib linux 2.6.34 (404 page not found)