# Metaproxy XML config file schemas
-# $Id: metaproxy.rnc,v 1.23 2008-02-27 21:31:57 adam Exp $
#
-# Copyright (c) 2005-2008, Index Data.
+# Copyright (c) 2005-2008 Index Data.
#
# See the LICENSE file for details
#
metaproxy =
element mp:metaproxy {
attribute version { "1.0" },
+ element mp:dlpath { xsd:string }?,
element mp:start {
attribute route { xsd:NCName }
},
| filter_auth_simple
| filter_backend_test
| filter_bounce
+ | filter_cgi
| filter_cql_rpn
| filter_frontend_net
| filter_http_file
+ | filter_limit
| filter_load_balance
| filter_log
| filter_multi
attribute name { xsd:NCName }?,
element mp:threads { xsd:integer }?,
element mp:port { xsd:string }+,
- element mp:timeout { xsd:integer }?
+ element mp:timeout { xsd:integer }?,
+ element mp:connect-max { xsd:integer }?
filter_http_file =
attribute type { "http_file" },
element mp:database {
attribute name { xsd:NCName },
any
- }+
+ }*
filter_virt_db =
attribute type { "virt_db" },
attribute id { xsd:NCName }?,
attribute name { xsd:NCName }?,
+ element mp:pass-vhosts { xsd:boolean }?,
element mp:virtual {
attribute route { xsd:NCName }?,
- element mp:database { xsd:NCName },
+ element mp:database { xsd:string },
element mp:target { xsd:string }+
}+
element mp:default_target { xsd:string }?,
element mp:force_target { xsd:string }?
+filter_limit =
+ attribute type { "limit" },
+ element mp:limit {
+ attribute bandwidth { xsd:integer }?,
+ attribute pdu { xsd:integer }?,
+ attribute search { xsd:integer }?,
+ attribute retrieve { xsd:integer }?
+ }?
+
+filter_cgi =
+ attribute type { "cgi" },
+ element mp:map {
+ attribute path { xsd:string },
+ attribute exec { xsd:string }
+ }*
+
#filter_zeerex_explain =
# attribute type { "zeerex_explain" },
# attribute id { xsd:NCName }?,