转自:http://blog.csdn.net/lixuyuan/article/details/6609114
PS:这个人的博客的mini_httpd的移植写的不错
cgi将网页重定向到index.html的方法
printf("<script>window.setTimeout(\"location.href = 'http://ip地址'\", 1000);</script>\n");
其中IP地址可以是变量
转自:http://blog.csdn.net/lixuyuan/article/details/6609114
PS:这个人的博客的mini_httpd的移植写的不错
cgi将网页重定向到index.html的方法
printf("<script>window.setTimeout(\"location.href = 'http://ip地址'\", 1000);</script>\n");
其中IP地址可以是变量