I used platform builder 4.1 to create an emulator target.
The CE web server appears to be working. A virtual path
was created using the HKEY_LOCAL_MACHINE\Comm\HTTPD\VROOTS
key in projects.reg, but it is not working. Can a virtual
path map to any physical path or just to subdirectories
off of the localhost path and does this work on the
emulator? I am trying to access my isapi extension dll
which is located in the "release" directory.

Thanks,
Jim King

Re: More ISAPI extension questions by John

John
Thu Dec 04 10:12:57 CST 2003

A virtual path can map to just about any physical path. It can even map to
a UNC share I believe, but for security purposes web server will not run
ISAPI's or scripts from there. This does not apply to your \release
directory.

My guess here is that you've typed something into the .reg file wrong. Most
common mistake here is not putting the slashes right between VROOTS and the
root name in reg key name -- you want 'VROOTS' '\' '/' '{VrootName}'.

The fact it's on emulator makes no difference, as virtual roots mapping is
just strcmp's in a giant table. I recommend you build the Web Server admin
tool, which is an ISAPI that can be used to configure web server's virtual
roots and other settings. Then you can add what you want and see what the
registry looks like. I don't know if there's a catalog entry for this, but
SYSGEN_ISAPI_CONFIG=1 will get it. It lives on http://CEDevice/Admin/.

Also have this reg key to project.reg so that you don't need auth:
[HKEY_LOCAL_MACHINE\COMM\HTTPD\VROOTS\/Admin]
"a"=dword:0

Finally don't ship this in your final device - this is for testing/dev
purposes only.

--
John Spaith
Software Design Engineer, Windows CE
Microsoft Corporation

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.

"Jim King" <anonymous@discussions.microsoft.com> wrote in message
news:092a01c3b99d$e4ceada0$a401280a@phx.gbl...
> I used platform builder 4.1 to create an emulator target.
> The CE web server appears to be working. A virtual path
> was created using the HKEY_LOCAL_MACHINE\Comm\HTTPD\VROOTS
> key in projects.reg, but it is not working. Can a virtual
> path map to any physical path or just to subdirectories
> off of the localhost path and does this work on the
> emulator? I am trying to access my isapi extension dll
> which is located in the "release" directory.
>
> Thanks,
> Jim King