Add default conify configuration to eg_vhost.conf
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 29 Jul 2008 18:05:23 +0000 (18:05 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 29 Jul 2008 18:05:23 +0000 (18:05 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@10174 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/examples/apache/eg_vhost.conf

index c1e523d..fbbf7d8 100644 (file)
@@ -258,10 +258,34 @@ RewriteRule ^/opac/extras/ac/jacket/(small|medium|large)/$ \
     allow from all
 </Location>
 
+# ----------------------------------------------------------------------------------
+# Conify - next-generation Evergreen administration interface
+# ----------------------------------------------------------------------------------
+RewriteEngine on
+RewriteRule ^/conify/.*/global/(.*)$ /conify/global/$1
+<Location /conify>
+       SetEnv locale en-US
+    SetEnvIf Request_URI "/en-US/" locale=en-US
+    SetEnvIf Request_URI "/fr-CA/" locale=fr-CA
+    XMLEntStripPI "yes"
+    XMLEntEscapeScript "no"
+    XMLEntStripComments "yes"
+    XMLEntContentType "text/html; charset=utf-8"
+    AddOutputFilter INCLUDES .html
+    SetHandler perl-script
+    PerlSetVar OILSProxyTitle "Dojo Admin Login"
+    PerlSetVar OILSProxyDescription "Please log in to administer Evergreen"
+    PerlSetVar OILSProxyPermissions "STAFF_LOGIN"
+    PerlHandler OpenILS::WWW::Proxy
+    Options +ExecCGI
+    PerlSendHeader On
+    allow from all
+</Location>
+
 # OpenURL 0.1 searching based on OpenSearch
 RewriteEngine on
 RewriteMap openurl prg:/openils/bin/openurl_map.pl
 RewriteCond %{QUERY_STRING} (^.*$)
 RewriteRule ^/openurl$ ${openurl:%1} [NE,PT]
 
-