Chinaunix首页 | 论坛 | 博客
  • 博客访问: 678893
  • 博文数量: 148
  • 博客积分: 4086
  • 博客等级: 上校
  • 技术积分: 1766
  • 用 户 组: 普通用户
  • 注册时间: 2009-12-06 23:27
文章分类

全部博文(148)

文章存档

2013年(19)

2012年(9)

2011年(106)

2009年(14)

分类: LINUX

2011-03-14 15:52:37

添加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]
                         @=""
                         "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,即可得到配置页面。

阅读(1028) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~