Re: How to configure windows ce 4.2 device's web server

From: Jean (Jean_at_discussions.microsoft.com)
Date: 01/12/05


Date: Tue, 11 Jan 2005 17:49:01 -0800

When I said the web server componet, I mean httpd.dll. This is the only
file I found on my CE device. Is this means that I am missing other
components for the web server? I already know the asp is not implemented on
the device. Now we are asking our OEM for help. In order to build an ASP
server application, what else do I need to be included in my device? Sorry
to ask so many questions. Since I am new to windows ce and web server,
until now I am still very confused.

Any help will be very appreciated.

Thanks.

Jean

"Jean" wrote:

> I also found out that the OEM device only contained1 web server component --
> HTTPD. So right now it does not support ASP pages. What should I go from
> here? Do I need to ask our OEM to rebuild the platform for us or I can use
> other method -- such as java?
>
> Best Regards,
>
> Jean
>
> "Jean" wrote:
>
> > After I check the windows\www directory, it is empty. Typing the services
> > list command also gave me a empty list. Then I typed in services load
> > HTTPD. Now the web server is up and running.
> >
> > How to make the server up and running during the device boot up ?
> >
> > Thanks
> >
> > Jean
> >
> > "John Spaith [MS]" wrote:
> >
> > > Hmm... everything sounds right. I'm not sure why this isn't working.
> > >
> > > Try checking out \windows\www\current-httpd.log (or something like that) to
> > > see if the web server was even loaded in the first place. There may also be
> > > error messages explaining what went wrong if it's not up and running. From
> > > a target control window in Platform Builder, you can try 's services -d
> > > list' to see which services on the device are running. You try 's
> > > services -d load HTTPD' to try and load web server if it's not up already.
> > > Let me know how this works and what log info, if any, you have.
> > >
> > > As far as adding components to a CE image after the fact if you're not an
> > > OEM -- I believe it is possible for some components. The web server and the
> > > underlying core networking functionality, however, are things that only
> > > OEM's can add.
> > >
> > > --
> > > John Spaith
> > > Software Design Engineer, Windows CE
> > > Microsoft Corporation
> > >
> > > Check out the new CE Networking Team Blog at http://blogs.msdn.com/cenet/.
> > >
> > > This posting is provided "AS IS" with no warranties, and confers no rights.
> > > You assume all risk for your use. © 2003 Microsoft Corporation. All rights
> > > reserved.
> > >
> > > "Jean" <Jean@discussions.microsoft.com> wrote in message
> > > news:C2C001A6-B45F-4E95-B494-C84D66E44F14@microsoft.com...
> > > > Hi,
> > > >
> > > > Our OEM already build the ce device for us. And it includes httpd.dll on
> > > > its
> > > > image. When I am using the remote process view to debug the device, the
> > > > httpd.dll does not running when the device is turned on. How to start the
> > > > web
> > > > server running and configure it? Can someone give me a hint on where I can
> > > > find the information?
> > > > Thanks.
> > > >
> > > > Jean
> > > >
> > > > You should have registry settings that look something like this to get the
> > > > web server started at boot:
> > > > [HKEY_LOCAL_MACHINE\Services\HTTPD]
> > > > "Context"=dword:1
> > > > "FriendlyName"="World Wide Web Publishing"
> > > > "Dll"="HTTPD.DLL"
> > > > "Order"=dword:8
> > > > "Keep"=dword:1
> > > > "Prefix"="HTP"
> > > > "Index"=dword:0
> > > >
> > > > If this isn't present, your web server won't start and in fact can't be
> > > > loaded after the fact either.
> > > >
> > > > If you have follow up questions, please post them to the newsgroup
> > > > microsoft.public.windowsce.platbuilder and copy the thread we've had so
> > > > far
> > > > into it. Doing this means other customers may be able to give you their
> > > > feedback and future people can benefit from our conversation. I check
> > > > this
> > > > group daily.
> > > >
> > > > John
> > > >
> > > > Above is the feedback I got from John. I checked my registry today,
> > > > [HKEY_LOCAL_MACHINE\Services\HTTPD is setup as John mentioned. But after
> > > > reboot the device, the server still not seems to be running.
> > > >
> > > > My registry setting for [HKEY_LOCAL_MACHINE\Comm\HTTPD is as below:
> > > > Default (value not set)
> > > > DirBrowse 1
> > > > DefaultPage default.asp
> > > > Basic 1
> > > > IsEnabled 1
> > > > AdminUsers jchi
> > > > MaxLogSize 32768
> > > > LogFileDirectory \windows\www
> > > > NTLM 1
> > > >
> > > > Can anyone help? Also, in case I found out that some of the web server
> > > > components are missing, can I add them into the existing device? If yes,
> > > > how?
> > > >
> > > > Thanks.
> > >
> > >
> > >



Relevant Pages

  • Re: How to configure windows ce 4.2 devices web server
    ... underlying features that ASP needs that the web server doesn't ... You need to let your OEM know whether you want JScript, ... The Web Server as provided by Microsoft does not have server-side Java ... "Jean" wrote in message ...
    (microsoft.public.windowsce.platbuilder)
  • Re: How to configure windows ce 4.2 devices web server
    ... I am now waiting for my device manufacturer to add the missing components ... Jean ... I already know the asp is not implemented ... Since I am new to windows ce and web server, ...
    (microsoft.public.windowsce.platbuilder)
  • Re: HOWTO Send an email to a Web Server.
    ... Email is handled with a totally different protocol than a web page ... (HTTP), so no, you cannot "send email to a web server / ASP page" because ... It is possible for a web server / ASP page to use ANOTHER component to ...
    (microsoft.public.inetserver.iis)
  • Problem with ASP on Webserver
    ... I have a problem with the web server on windows CE 5.0 when running an ASP ... (Accept-Language:) ... Parse error in script ...
    (microsoft.public.windowsce.platbuilder)
  • Re: WebServer on WinCE
    ... As long as the web server itself is running your COM object in its thread, ... > I have a question on the CE Webserver. ... If I have a ASP page with a VB ... > client because of some timeout it hits. ...
    (microsoft.public.windowsce.app.development)