]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/examples/oils_web.xml.example
added the default config options for running the tt opac. only the eg_vhost change...
[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     <!-- Turn on template-toolkit debugging, which reports on undefined blocks, macros, etc. -->
22     <debug_template>false</debug_template>
23
24     <!-- Where templates can be found.  Paths will be checked in the order entered here.
25          It's possible to override individual or sets of templates by putting them into
26          a path in front of the default template path -->
27     <template_paths>
28         <!-- XXX we should really move these out of the default web root -->
29         <path>/openils/var/web/templates</path>
30     </template_paths>
31
32     <handlers>
33         <!-- add custom handlers here.  These are for templates that live in non-obvious locations.  
34             In other words, if the path + default extension does not map directly to a template file -->
35         <handler path='acq/fund/list' template='acq/financial/list_funds.tt2'/>
36         <handler path='acq/fund/view' template='acq/financial/view_fund.tt2'/>
37         <handler path='acq/funding_source/list' template='acq/financial/list_funding_sources.tt2'/>
38         <handler path='acq/funding_source/view' template='acq/financial/view_funding_source.tt2'/>
39         <handler path='acq/currency_type/list' template='acq/financial/list_currency_types.tt2'/>
40         <handler path='acq/currency_type/view' template='acq/financial/view_currency_type.tt2'/>
41         <handler path='acq/provider/list' template='acq/financial/list_providers.tt2'/>
42         <handler path='acq/provider/view' template='acq/financial/view_provider.tt2'/>
43         <handler path='vandelay/vandelay' template='vandelay/vandelay.tt2' as_xml='true'/>
44     </handlers>
45 </oils_web>