# ========================================================================
# Sample configuration file for com.mortbay.Jetty.Server21
#
# THIS IS AN OLD FILE FORMAT AND IS ONLY HERE FOR HISTORICAL REASONS
#
# Server21 has been deprecated.
#
# ------------------------------------------------------------------------
# All configurations lines are of the general format:
#   <server>.<stack>.<option>[.<path>] : value
# where
#   <server> - The name of the server being configured (multiple servers
#              can be configured in the same file).
#   <stack>  - The path that the option is activated on.
#              Within each server, options are handled by a stack of 
#              handlers at a path specification. This allows the
#              handling of each request to be optimized.  If you don't
#              know what stack to use, just use "/".
#   <option> - InetAddrPort | Servlet | Directory | Translate | Forward |
#              Auth | Log | Filter | Proxy
#   <path>   - The path that the options value applies to.
#               
# ------------------------------------------------------------------------
# Define the ports the server will listen on:
#   <server>.<stack>.InetAddrPort: <host>:<port>[,<host>:<port> ...]
# where
#   <host> - Host name of server
#          | IP address of server
#          | "0.0.0.0" Fore all local interfaces
#   <port> - Port of server
#
# ------------------------------------------------------------------------
# Declare a servlet:
#   <server>.<stack>.Servlet.<path>:  <class>
# where
#   <class> - The class name of the servlet
#
# ------------------------------------------------------------------------
# Declare a file server directory:
#   <server>.<stack>.Directory.<path>: <filename>
# where
#   <filename> - The absolute or relative filename of the real directory
#
# ------------------------------------------------------------------------
# Declare a log file
#   <server>.<stack>.Log.<path>:  <filename>
# where
#   <filename> - Name of log file
#              | 'out' for standard output
#              | 'err' for standard error
#
# ------------------------------------------------------------------------
# Declare a authentication realm 
#   <server>.<stack>.Auth.<path>: <realmname>=<realmfile>
# where
#   <realmname> - Name of the realm
#   <realmfile> - Name of the realm file
#
# ------------------------------------------------------------------------
# Declare a Translation
#   <server>.<stack>.Translate.<path>:  <newpath>
# where
#   <newpath> - The new path
#
# ------------------------------------------------------------------------
# Declare a Filter
#   <server>.<stack>.Filter.<path>:  <filterclass>
# where
#   <filterclass> - The class name of the filter
#
# ------------------------------------------------------------------------
# Declare a Forward
#   <server>.<stack>.Forward.<path>:  <URL>
# where
#   <URL> - The URL to forward to
#
# ------------------------------------------------------------------------
# Declare a Proxy
#   <server>.<stack>.Proxy
#
# ------------------------------------------------------------------------



# ========================================================================
# This is a simple configuration of a server at port 8080
# ------------------------------------------------------------------------
ServerA./.InetAddrPort	   : 0.0.0.0:8080,localhost:8081
ServerA./.Servlet./Dump%   : Dump=com.mortbay.Servlets.Dump?./etc/ParamDemo.prp
ServerA./.Servlet./Debug$  : Debug=com.mortbay.Servlets.DebugServlet
ServerA./.Directory./      : ./FileBase
ServerA./.Log./		   : err
ServerA./.Auth./Auth	   : Demo=./etc/RealmDemo.prp
ServerA./.Translate./Auth% : /
ServerA./.Filter./	   : com.mortbay.HTTP.Filter.HtmlFilter
ServerA./.Forward./Forward%: http://localhost:8080

# ========================================================================
# This is a minimal configuration  of a server at port 8082
# ------------------------------------------------------------------------
ServerB./.InetAddrPort	   : 0.0.0.0:8082
ServerB./.Servlet./Dump%   : Dump=com.mortbay.Servlets.Dump
ServerB./.Directory./Files : ./FileBase





