[Inso Home Page] [Home] [Collection] [Book] [Expand] [Collapse] [Search Forms] [Previous Section with Hits] [Next Section with Hits] [Clear Search] [Preferences] [Print] [Help]

 inside  Expand Search

   Overview of Templates   [Table of Contents]    Template-Controlled Text

DynaWeb Publishers Guide

[-] 5. Modifying The DynaWeb Interface
[-] URL Components

URL Components

Changing the Service Selector

The service selector is the first segment after the Server Name in the URL In the following URL, dynaweb is the service selector:


The service selector is the keyword that the DynaWeb server module uses to recognize requests (by default dynaweb). You may modify the service selector by changing the dwService statement in the dynaweb.dwc configuration file.

The service selector can be changed by following these directions:

  1. Open the configuration file dynaweb.dwc, located in the data/config directory, in any text editor.
  2. Search for dwService to locate the line you need to change.

    The line should look like:

    dwService dynaweb
  3. Modify the line, replacing "dynaweb" with the word you want to use. The word or phrase cannot contain spaces and, to avoid confusion, should not use punctuation or special characters. For example, to change the service selector to recognize "books" instead of "dynaweb", the line should look like this when you are finished.
    dwService books
  4. Save your changes and exit the editor.
  5. For changes to take effect, you must restart your web server.

    Adding Alternate Service Selectors

    In addition to changing the service selector from the default, you can also add multiple service selectors by adding multiple dwService statements. For example, to add the alternate service selectors of "books," "articles," "archives," and "magazines," add dwService statements for each of the phrases, as follows:

    dwService dynaweb
    dwService books
    dwService articles
    dwService archives
    dwService magazines

       Overview of Templates   [Table of Contents]    Template-Controlled Text