forked from marklogic-community/roxy
-
Notifications
You must be signed in to change notification settings - Fork 0
Overriding Roxy Options
paxtonhare edited this page May 31, 2012
·
3 revisions
Several aspects of Roxy can be configured via XML. The default configuration values for Roxy are located in /src/roxy/config/defaults.xqy.
If you wish to override any of the values in defaults.xqy then you need to edit /src/app/config/config.xqy.
Simply include the xml elements you wish to override in $ROXY-OPTIONS.
declare variable $ROXY-OPTIONS :=
<options>
<default-controller>mycontroller</default-controller>
</options>;
declare variable $ROXY-OPTIONS :=
<options>
<default-controller>mycontroller</default-controller>
<default-function>myfunction</default-function>
</options>;
declare variable $ROXY-OPTIONS :=
<options>
<default-layouts>
<layout format="html">two-column</layout>
</default-layouts>
</options>;