发新话题
打印

【原创推荐】如何在WINCE中添加Web Server组件

【原创推荐】如何在WINCE中添加Web Server组件

添加Web Server组件  发贴心情 Post By:2008-9-23 14:47:00    



 







wince 5.0有自带的Web server组件。第三方比较好用的有GoAhead Web Server ,这是开源软件,而且支持Linux。


一、wince 5.0自带的Web server组件


       步骤一:


              在PB中添加以下组件:


























Catalog itemSysgen variableLocation in Catalog
Web Server (HTTPD)SYSGEN_HTTPDCommunication Services and Networking\Servers
Web Server Administration ISAPISYSGEN_ISAPI_CONFIGCommunication Services and Networking\Servers\Web Server (HTTPD)
NTLMSYSGEN_AUTH_NTLMSecurity\Authentication Services (SSPI)
Internet Connection Sharing (ICS)SYSGEN_GATEWAYCommunication 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,即可得到配置页面。

TOP

发新话题