i'm trying the simplest from
http://foxlx.acmesystems.it/?id=165
http://192.168.1.1/cgi-bin/cgi.sh
#!/bin/sh
echo "Content-type: text/html\n"
# our html code
echo "<html>"
echo "<head><title>My FOX page</title></head>"
echo "<body>"
echo "<h1>Welcome to my FOX Board web page</h1>"
echo "Hello World !"
echo "</body>"
echo "</html>"
when i placed to /www it's come to downloaded file... http://192.168.1.1/cgi.sh
but when i placed to /www/cgi-bin it's show
http://192.168.1.1/cgi-bin/cgi.sh
Content-type: text/html
<html>
<head><title>My FOX page</title></head>
<body>
<h1>Welcome to my FOX Board web page</h1>
Hello World !
</body>
</html>
what must I do to make it's work like first link above...??
(Last edited by bulongx on 16 Jul 2011, 12:46)