none
Web Server RRS feed

  • 問題

  • 請問可不可以簡單的教我一下怎麼在ce中架設成Web Server呢?

    我目前是把Web Server加進去了,網頁也寫好了,

    1.  不知道要怎麼把它啟動?

    2.  不知如何測試網頁?

    3.  網頁的路徑該怎麼打?(別台電腦要連到我的首頁時,該怎麼打網址?

    4.  Web資料挾在哪裡?該怎麼去連它的首頁?

    5.  需不需要再自己寫Web Server的程式?

    6.  我目前給ce是自動偵測的 IP , DNS也是自動,也試過改它(改成192.1681..1這種IP)

         請問這跟IP有關係嗎?

      謝謝!

     

    2007年3月25日 下午 06:12

解答

  • Hi man,

     

    Windows CE provide a simple Http Server Sample in

    Windows CE Features > Communication Services and Networking > Servers > Web Server (HTTPD),

    Add this feature in your project and you don't have to write a new one by yourself.  You can find the usage in WinCE 5.0 Documentation.  By the way, it also provided the most basic support for ASP(active server page).  You also can add ASP-plugin into your project if you needed.  Let me show the how-to step by step.

     

    1.Create a new WinCE 5.0 project.

    2.Add Web Server Feature into your project.

    3.Modify your registry in file servers.reg. ( You can check reginit.ini/servers.reg and search key word "httpd" to learn the sample registry setting.)

    4.Search keyword "httpd" in WinCE 5.0 documentation and you will find how to modify the registry for your need.

       ps: including IsEnabled = dword:1, change vroot settings, log file path....

    5.Add a sample page into your vroot directory in WinCE.

    6.Use your PC linking to your sample page in WinCE.(You definitely must know what URL(IP address or domain name)  that your WinCE is used now.

     

     

    2007年3月30日 上午 09:22

所有回覆

  • Hi man,

     

    Windows CE provide a simple Http Server Sample in

    Windows CE Features > Communication Services and Networking > Servers > Web Server (HTTPD),

    Add this feature in your project and you don't have to write a new one by yourself.  You can find the usage in WinCE 5.0 Documentation.  By the way, it also provided the most basic support for ASP(active server page).  You also can add ASP-plugin into your project if you needed.  Let me show the how-to step by step.

     

    1.Create a new WinCE 5.0 project.

    2.Add Web Server Feature into your project.

    3.Modify your registry in file servers.reg. ( You can check reginit.ini/servers.reg and search key word "httpd" to learn the sample registry setting.)

    4.Search keyword "httpd" in WinCE 5.0 documentation and you will find how to modify the registry for your need.

       ps: including IsEnabled = dword:1, change vroot settings, log file path....

    5.Add a sample page into your vroot directory in WinCE.

    6.Use your PC linking to your sample page in WinCE.(You definitely must know what URL(IP address or domain name)  that your WinCE is used now.

     

     

    2007年3月30日 上午 09:22
  • 謝謝唷!

    我先試試看,若有不會的地方再請教您唷!

    謝謝!

    2007年3月30日 上午 10:32