由于嵌入式系统资源紧缺,所以一般采用boa服务器。我用的嵌入式内核为linux2.6。
建立HTML和CGI文件目录
# cd /etc/httpd
#mkdir html
#mkdir cgi
boa的配置文件/etc/httpd/conf/boa.conf
修改
DocumentRoot /usr/html/local
建立HTML和CGI文件目录
# cd /etc/httpd
#mkdir html
#mkdir cgi
boa的配置文件/etc/httpd/conf/boa.conf
修改
DocumentRoot /usr/html/local
ScriptAlias /cgi/ /etc/httpd/cgi/
保存,重启boa。
# /etc/init.d/httpd restart
注意不要忘记修改权限。
要了解更多的BOA服务器的信息http://www.boa.org/