Board logo

标题: 如何在WINCE中添加WebServer组件 [打印本页]

作者: samwalton    时间: 2013-8-15 18:12     标题: 如何在WINCE中添加WebServer组件

wince 5.0有自带的Web server组件.第三方比较好用的有GoAhead Web Server ,这是开源软件,而且支持Linux.
    一、wince 5.0自带的Web server组件
    步骤一:
    在PB中添加以下组件:
    Catalog item Sysgen variable Location in Catalog
    Web Server (HTTPD) SYSGEN_HTTPD Communication Services and Networking\Servers
    Web Server Administration ISAPI SYSGEN_ISAPI_CONFIG Communication Services and Networking\Servers\Web Server (HTTPD)
    NTLM SYSGEN_AUTH_NTLM Security\Authentication Services (SSPI)
    Internet Connection Sharing (ICS) SYSGEN_GATEWAY Communication Services and Networking\Networking Features
    Reference Gateway User Interface
    SYSGEN_GATEWAY_UI
    Communication Services and Networking\Networking Feature
    步骤二:
    在project.reg中添加:
    [HKEY_LOCAL_MACHINE\COMM\HTTPD\VROOTS\/WebAdmin]
    @=“\\windows\\httpdadm.dll”
    “a”=dword:0
    [HKEY_LOCAL_MACHINE\COMM\HTTPD\VROOTS\/BasicOnly]
    @=“\\”
    “a”=dword:1
    “Basic”=dword:1
    “NTLM”=dword:0
    “dirbrowse”=dword:1
    [HKEY_LOCAL_MACHINE\COMM\HTTPD\VROOTS\/NTLMOnly]
    @=“\\”
    “a”=dword:1
    “Basic”=dword:0
    “NTLM”=dword:1
    “dirbrowse”=dword:1
    [HKEY_LOCAL_MACHINE\COMM\HTTPD\VROOTS\/BothAuth]
    @=“\\”
    “a”=dword:1
    “Basic”=dword:1
    “NTLM”=dword:1
    “dirbrowse”=dword:1
    步骤三:
    Sysgen,然后下载NK到设备.设置好PC和设备的IP,打开PC上的浏览器,输入http://设备IP,即可得到配置页面




欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) Powered by Discuz! 7.0.0