Install oils_web.xml.example by default like other example configuration files
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 4 Nov 2008 04:52:21 +0000 (04:52 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 4 Nov 2008 04:52:21 +0000 (04:52 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@11057 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/examples/oils_web.xml [deleted file]
Open-ILS/examples/oils_web.xml.example [new file with mode: 0644]
Open-ILS/src/Makefile.am

diff --git a/Open-ILS/examples/oils_web.xml b/Open-ILS/examples/oils_web.xml
deleted file mode 100644 (file)
index babb51a..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<oils_web>
-    <!-- This should match the Apache Directory/Location[Match] configuration path -->
-    <base_uri>/eg</base_uri>
-
-    <!-- media_prefix can be a remote server.  
-         E.g. <media_prefix>http://static.example.com/media</media_prefix> -->
-    <media_prefix/>
-
-    <!-- Where templates can be found.  Paths will be checked in the order entered here.
-         It's possible to override individual or sets of templates by putting them into
-         a path in front of the default template path -->
-    <template_paths>
-        <!-- XXX we should really move these out of the default web root -->
-        <path>/openils/var/web/templates</path>
-    </template_paths>
-
-    <handlers>
-        <handler path='acq/picklist/list' template='acq/picklist/list.tt2'/>
-        <handler path='acq/picklist/view' template='acq/picklist/view.tt2'/>
-        <handler path='acq/picklist/bib_search' template='acq/picklist/bib_search.tt2'/>
-        <handler path='acq/fund/list' template='acq/financial/list_funds.tt2'/>
-        <handler path='acq/fund/view' template='acq/financial/view_fund.tt2'/>
-        <handler path='acq/funding_source/list' template='acq/financial/list_funding_sources.tt2'/>
-        <handler path='acq/funding_source/view' template='acq/financial/view_funding_source.tt2'/>
-        <handler path='acq/currency_type/list' template='acq/financial/list_currency_types.tt2'/>
-        <handler path='acq/currency_type/view' template='acq/financial/view_currency_type.tt2'/>
-        <handler path='acq/provider/list' template='acq/financial/list_providers.tt2'/>
-        <handler path='acq/provider/view' template='acq/financial/view_provider.tt2'/>
-        <handler path='acq/po/view' template='acq/po/view.tt2'/>
-        <handler path='acq/po/li_search' template='acq/po/li_search.tt2'/>
-        <handler path='acq/po/search' template='acq/po/search.tt2'/>
-        <handler path='acq/receiving/process' template='acq/receiving/process.tt2'/>
-        <handler path='acq/settings/li_attr' template='acq/settings/li_attr.tt2'/>
-    </handlers>
-</oils_web>
diff --git a/Open-ILS/examples/oils_web.xml.example b/Open-ILS/examples/oils_web.xml.example
new file mode 100644 (file)
index 0000000..babb51a
--- /dev/null
@@ -0,0 +1,35 @@
+<oils_web>
+    <!-- This should match the Apache Directory/Location[Match] configuration path -->
+    <base_uri>/eg</base_uri>
+
+    <!-- media_prefix can be a remote server.  
+         E.g. <media_prefix>http://static.example.com/media</media_prefix> -->
+    <media_prefix/>
+
+    <!-- Where templates can be found.  Paths will be checked in the order entered here.
+         It's possible to override individual or sets of templates by putting them into
+         a path in front of the default template path -->
+    <template_paths>
+        <!-- XXX we should really move these out of the default web root -->
+        <path>/openils/var/web/templates</path>
+    </template_paths>
+
+    <handlers>
+        <handler path='acq/picklist/list' template='acq/picklist/list.tt2'/>
+        <handler path='acq/picklist/view' template='acq/picklist/view.tt2'/>
+        <handler path='acq/picklist/bib_search' template='acq/picklist/bib_search.tt2'/>
+        <handler path='acq/fund/list' template='acq/financial/list_funds.tt2'/>
+        <handler path='acq/fund/view' template='acq/financial/view_fund.tt2'/>
+        <handler path='acq/funding_source/list' template='acq/financial/list_funding_sources.tt2'/>
+        <handler path='acq/funding_source/view' template='acq/financial/view_funding_source.tt2'/>
+        <handler path='acq/currency_type/list' template='acq/financial/list_currency_types.tt2'/>
+        <handler path='acq/currency_type/view' template='acq/financial/view_currency_type.tt2'/>
+        <handler path='acq/provider/list' template='acq/financial/list_providers.tt2'/>
+        <handler path='acq/provider/view' template='acq/financial/view_provider.tt2'/>
+        <handler path='acq/po/view' template='acq/po/view.tt2'/>
+        <handler path='acq/po/li_search' template='acq/po/li_search.tt2'/>
+        <handler path='acq/po/search' template='acq/po/search.tt2'/>
+        <handler path='acq/receiving/process' template='acq/receiving/process.tt2'/>
+        <handler path='acq/settings/li_attr' template='acq/settings/li_attr.tt2'/>
+    </handlers>
+</oils_web>
index 77dffbe..9e7d89a 100644 (file)
@@ -69,6 +69,7 @@ sysconf_DATA = $(examples)/opensrf.xml.example \
               $(examples)/opensrf_core.xml.example \
               $(examples)/fm_IDL.xml \
               $(examples)/oils_sip.xml.example \
+              $(examples)/oils_web.xml.example \
               $(examples)/lib_ips.txt.example
 
 core_scripts =   $(examples)/oils_ctl.sh \