Sorcerer's IsleCode Lucee on Jetty / files

     1# Lucee on Jetty webapps directory.
     2
     3The primary Lucee on Jetty readme is README.TXT in the top-level directory.
     4The default Jetty webapps readme is README.TXT in jetty-home/webapps
     5
     6This webapps directory is where Jetty WebApp Contexts are located.
     7
     8There is one context by default - ROOT.xml - which listens on localhost and has
     9its resourceBase (webroot) set to the lucee-base/webapps/ROOT directory.
    10
    11
    12## Adding a new context
    13
    14Create a new XML file from the ROOT.xml, set the resourceBase appropriately, and
    15specify the virtual host aliases that the context responds to.
    16
    17Jetty is configured to automatically deploy new contexts, without needing to
    18restart the Jetty server. For details on this, see the Jetty Documentation
    19section below.
    20
    21
    22## Adding a virtual host to a context
    23
    24A context will respond to the hostnames specified in its virtual host aliases
    25section. The default ROOT context has been configured to run only on localhost,
    26but can be reconfigured if desired.
    27
    28If a context does not have any virtual hosts configured, it will respond for any
    29hostname or IP which points to the machine.
    30
    31Details on how to configure virtual hosts are available at:
    32  http://www.eclipse.org/jetty/documentation/current/configuring-virtual-hosts.html
    33
    34
    35## Jetty Documentation
    36
    37There is a README.txt in jetty-home/webapps which provides some information on
    38webapp deployment, or a more complete explanation is available online:
    39  http://www.eclipse.org/jetty/documentation/current/configuring-deployment.html