Results 11 to 13 of 13
Enjoy an ad free experience by logging in. Not a member yet? Register.
Perhaps some variables in your system are not correctly set. Try using the full absolute path: "/root/webserver/cgi-bin/testcgi"
- Join Date
- Nov 2012
Thanks, I already saw the first link, but as you can see they dont implicitly turn CGI scripts on. I do the same as they do just calling IP/cgi-bin/testcgi but I get "404 page not found"
If I call the script with the full path like you said I get
-sh: /root/web/cgi-bin/testcgi.sh: not found
I double checked the rights and the file has the following chmod: rwxrwxrwx
You should also check the log files of your httpd server to see what happened when the "page cannot be displayed" message appeared.
Perhaps you'll find them in /var/log/messages (but not sure).
Overall, I think the cgi option is not enabled for your httpd. I saw a post where someone said this was pre-enabled after busybox 1.17. I don't know if this will help you at all but here's the link: