Depeche FAQ

1. How do I configure my server?
Depeche HTTP Server can be configured through an XML file. The configuration file follows a simple syntax that you can use to create and manage virtual directory and protected resources.
[ example of configuration file ]
      <?xml version="1.0" encoding="utf-8"?>
      <configuration>
        <!-- Root webpage -->
        <virtualdir root="/" path="\Program Files\Depeche" keepalive="true" timeout="300">
          <defaults>
            <add name="index.htm" />
          </defaults>
        <!-- Optional authentication section, only for protected resources -->
        <authentication mode="Basic">
          <authorization>
            <add encoding="clear" name="admin" password="admin" />
          </authorization>
        </authentication>
        </virtualdir>
      </configuration>
      
 
Nodes
  • <virtualdir root="/" path="\Program Files\Depeche" keepalive="true" timeout="300">
    Use this element to specify the location of the virtual directory.
  • <defaults>
    Use this element to specify default document name
  • <authentication mode="Basic">
    Authentication section is optional but it can be used to specify list of user credentials who can access a protected resources. Passwords can be stored in clear (encoding=clear) text or Base64 (encoding=base64).
2. How do I create/change virtual directory?
  • First, you will need to stop and unload the service. Use the control panel to do so under Windows Mobile.
  • Edit your [depeche.config] with the location where you placed your pages.
  • Re-deploy the config file and restart the service.
3. How do I change user list for protected page?
Depeche supports Basic Authentication to gain access to restricted resources.
  • First, you will need to stop and unload the service. Use the control panel to do so under Windows Mobile.
  • Edit your [depeche.config] to modify your users list.
  • Re-deploy the config file and restart the service.
4. How do I configure the ISAPI extension?
ISAPI extension must be available in the local folder that the URL is mapping to. For example, to run the sample <Redirect.dll> extension, copy it under the "Scripts" folder. Make sure you copy the correct binary for your platform (ARMV4 or ARMV4I). Then, you can access the extension from Internet explorer or your favorite browser by calling the proper Url.

Example: http://<ip-address>:<port>/Scripts/Redirect.dll
Redirect.dll supports request string, so you can call it like this as well:
http://<ip-address>:<port>/Scripts/Redirect.dll?/form.htm



View configuration notes for Windows Mobile 4.1-6.0