|
 |
Semi-Formal Configuration Description
|

Configuration is based on element XML. You can also think of is as
key-value lists, like the NT registry or a Lisp assoc-list. To make
the configuration more readable, you can use attributes as syntactic sugar.
The following are equivalent:
<foo><bar>13</bar></foo> |
canonical representation, but verbose
|
<foo bar=13/> |
typical configuration
|
<foo><bar id=13/></foo> |
Useful for a key-based list.
|
In general, the order is not important, but the nesting depth is.
The special element
resin:include can be used in
any place to read in another file.
caucho.com ::= log* |
java |
jsp |
dbpool.sql* |
smtp.vfs |
http-server
log ::= id |
href |
timestamp
java ::= compiler |
work-dir |
args
dbpool.sql ::= id |
driver |
url |
user |
password |
max-connections
smtp.vfs ::= host |
port
http-server ::= httpd-host |
httpd-port |
srun-host |
srun-port |
srun* |
srun-backup* |
user-name |
group-name |
thread-min |
thread-max |
thread-keepalive |
request-timeout |
timeout-interval |
cache |
host* |
any host tag (for default host)
srun ::= srun-host |
srun-port
srun-backup ::= srun-host |
srun-port
cache ::= dir |
entires |
size
host ::= id |
regexp |
app-dir |
error-log |
access-log* |
web-app* |
any web-app tag (for '/' web-app)
access-log ::= id |
format
web-app ::= id |
url-regexp |
app-dir |
servlet-mapping* |
servlet* |
classpath* |
class-update-interval |
context-param* |
session-config |
error-page* |
path-mapping* |
mime-mapping* |
cache-mapping* |
filter-mapping* |
welcome-file-list |
character-encoding |
directory-servlet |
jsp |
taglib* |
temp-dir |
db-pool* |
browser-mapping*
servlet-mapping ::= url-pattern |
url-regexp |
servlet-name |
path-info |
servlet-class |
init-param* |
load-on-startup |
run-at*
servlet ::= servlet-name |
servlet-class |
init-param* |
load-on-startup |
run-at*
init-param ::= param-name |
param-value |
classpath ::= id |
source |
compile
context-param ::= param-name |
param-value
session-config ::= session-timeout |
session-max
enable-cookies
enable-url-rewriting
error-page ::= location |
exception |
error-code
path-mapping ::= url-pattern |
url-regexp |
real-path
mime-mapping ::= extension |
mime-type
cache-mapping ::= url-pattern |
url-regexp |
expires
filter-mapping ::= mime-type |
servlet-name
browser-mapping ::= regexp |
force10
db-pool ::= id |
driver |
url |
user |
password |
max-connections
Copyright © 1998-2000 Caucho Technology. All rights reserved.
Last modified: Thu, 06 Apr 2000 15:16:18 -0700 (PDT)
|