]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/examples/oils_web.xml.example
Merge branch 'master' of git.evergreen-ils.org:Evergreen
[working/Evergreen.git] / Open-ILS / examples / oils_web.xml.example
1 <oils_web>
2
3     <!-- This should match the Apache Directory/Location[Match] configuration path -->
4     <base_path>/eg</base_path>
5
6     <web_dir>/openils/var/web</web_dir>
7
8     <!-- when locating files that don't have explicit handlers defined, assume the
9         files have the following filename extension -->
10     <default_template_extension>tt2</default_template_extension>
11
12     <!-- media_prefix can be a remote server.  
13          E.g. <media_prefix>http://static.example.com/media</media_prefix> -->
14     <media_prefix/>
15
16     <!-- If set to true, all output will be parsed as XML before delivery to the client.  
17         If XML parsing fails, the error message, with HTML included, will be output as text/plain.
18         XML parsing adds overhead, so this should only be used for debugging -->
19     <force_valid_xml>false</force_valid_xml>
20
21     <!-- Where templates can be found.  Paths will be checked in the order entered here.
22          It's possible to override individual or sets of templates by putting them into
23          a path in front of the default template path -->
24     <template_paths>
25         <!-- XXX we should really move these out of the default web root -->
26         <path>/openils/var/web/templates</path>
27     </template_paths>
28
29     <handlers>
30         <!-- add custom handlers here.  These are for templates that live in non-obvious locations.  
31             In other words, if the path + default extension does not map directly to a template file -->
32         <handler path='acq/fund/list' template='acq/financial/list_funds.tt2'/>
33         <handler path='acq/fund/view' template='acq/financial/view_fund.tt2'/>
34         <handler path='acq/funding_source/list' template='acq/financial/list_funding_sources.tt2'/>
35         <handler path='acq/funding_source/view' template='acq/financial/view_funding_source.tt2'/>
36         <handler path='acq/currency_type/list' template='acq/financial/list_currency_types.tt2'/>
37         <handler path='acq/currency_type/view' template='acq/financial/view_currency_type.tt2'/>
38         <handler path='acq/provider/list' template='acq/financial/list_providers.tt2'/>
39         <handler path='acq/provider/view' template='acq/financial/view_provider.tt2'/>
40         <handler path='vandelay/vandelay' template='vandelay/vandelay.tt2' as_xml='true'/>
41     </handlers>
42 </oils_web>