CGI程序的应用
1、源码编写
我已将自己编写的CGI简单测试代码上传至csdn供大家下载,如有不足之处,望不吝赐教。
地址:http://download.csdn.net/source/3131289
2、环境搭建
将编译后生成的cgi文件、html文件、lib库和include文件夹拷贝至开发板的/var/www(boa.conf中配置的DocumentRoot)目录下。
3、测试
在已经用网线连通开发板的PC下打开IE浏览器。
在地址栏中输入http://192.168.1.168/index.html
回车后成功访问页面。
Application of CGI programs
Coding
I have uploaded my own CGI source code to the csdn for all to download, and if inadequate, hope you let me know.
Address: http://download.csdn.net/source/3131289
Build Environment
Copy html, lib libraries, include folder to the /var/www (DocumentRoot in boa.conf) directory of the development board.
Test
Connect PC with the board to open the IE browser.
In the address bar: http://192.168.1.168/index.html
Can successful visit to the page after enter.