Sun Java System Web Server 6.1 SP12 Administrator's Guide

ProcedureTo change the primary document directory

  1. From the Class Manager, click the Content Management tab.

  2. Click Primary Document Directory.

  3. Enter an absolute directory path or a variable, or a path and variable combination next to the virtual server.

    If you include the variable $id at the end of your document root absolute path, every virtual server by default, will have a default document root of class_doc_root/virtual_server_ID. For example, if your class’ document directory is /sun/servers/docs/$id, the default document directory for a virtual server vs1 that belongs to the class is /sun/servers/docs/vs1.

    For more information about variables, see Using Variables.

  4. Click OK.

    For more information, see the online help for the Primary Document Directory page.

    Note –

    Typically, each virtual server has its own primary document directory.