From: Bill Erickson <berick@esilibrary.com>
Date: Tue, 13 Sep 2011 17:32:22 +0000 (-0400)
Subject: Further updates to eg_vhost for tpac
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=233f560c27a3fae70901ff6674ccd5e676676bb6;p=evergreen%2Fmasslnc.git

Further updates to eg_vhost for tpac

* Comment out locale handlers that do not have translations by default.
Otherwise, Apache will log the error in the error log.

* Added some additional configuration comments

Signed-off-by: Bill Erickson <berick@esilibrary.com>
---

diff --git a/Open-ILS/examples/apache/eg_vhost.conf b/Open-ILS/examples/apache/eg_vhost.conf
index a932df3c70..d2249eb47a 100644
--- a/Open-ILS/examples/apache/eg_vhost.conf
+++ b/Open-ILS/examples/apache/eg_vhost.conf
@@ -540,6 +540,8 @@ RewriteRule ^/openurl$ ${openurl:%1} [NE,PT]
     PerlSetVar OILSWebBasePath "/eg"
     PerlSetVar OILSWebWebDir "/openils/var/web"
     PerlSetVar OILSWebDefaultTemplateExtension "tt2"
+
+    # Enable Template-Toolkit error debugging messages (apache error log)
     PerlSetVar OILSWebDebugTemplate "true"
 
     # -------------------------------------------------------
@@ -549,16 +551,16 @@ RewriteRule ^/openurl$ ${openurl:%1} [NE,PT]
     #PerlSetVar OILSWebMediaPrefix "http://static.example.com/media"
 
     # Locale messages files
-    PerlAddVar OILSWebLocale "en"
-    PerlAddVar OILSWebLocale "/openils/var/data/locale/messages.en.po"
-    PerlAddVar OILSWebLocale "en_ca"
-    PerlAddVar OILSWebLocale "/openils/var/data/locale/messages.en_ca.po"
-    PerlAddVar OILSWebLocale "fr_ca"
-    PerlAddVar OILSWebLocale "/openils/var/data/locale/messages.fr_ca.po"
+    #PerlAddVar OILSWebLocale "en"
+    #PerlAddVar OILSWebLocale "/openils/var/data/locale/messages.en.po"
+    #PerlAddVar OILSWebLocale "en_ca"
+    #PerlAddVar OILSWebLocale "/openils/var/data/locale/messages.en_ca.po"
+    #PerlAddVar OILSWebLocale "fr_ca"
+    #PerlAddVar OILSWebLocale "/openils/var/data/locale/messages.fr_ca.po"
 
     # Templates will be loaded from the following paths in reverse order.
     PerlAddVar OILSWebTemplatePath "/openils/var/templates"
-    PerlAddVar OILSWebTemplatePath "/openils/var/templates_localskin"
+    #PerlAddVar OILSWebTemplatePath "/openils/var/templates_localskin"
 
     <IfModule mod_deflate.c>
         SetOutputFilter DEFLATE