Tell apache about the flattener
authorMike Rylander <mrylander@gmail.com>
Fri, 23 Mar 2012 17:54:53 +0000 (13:54 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mon, 26 Mar 2012 14:01:13 +0000 (10:01 -0400)
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/examples/apache/eg_vhost.conf
Open-ILS/examples/apache/startup.pl

index 688f10b..9fd59b2 100644 (file)
@@ -59,6 +59,14 @@ OSRFGatewayConfig /openils/conf/opensrf_core.xml
     Allow from All
 </Location>
 
+# Flattener service
+<Location /opac/extras/flattener>
+    SetHandler perl-script
+    PerlHandler OpenILS::WWW::FlatFielder
+    PerlSendHeader On
+    Allow from All
+</Location>
+
 # ----------------------------------------------------------------------------------
 # Replace broken cover images with a transparent GIF by default
 # ----------------------------------------------------------------------------------
index bb3fa16..46df1b1 100755 (executable)
@@ -13,6 +13,7 @@ use OpenILS::WWW::TemplateBatchBibUpdate qw( /openils/conf/opensrf_core.xml );
 use OpenILS::WWW::EGWeb;
 use OpenILS::WWW::PasswordReset ('/openils/conf/opensrf_core.xml');
 use OpenILS::WWW::IDL2js ('/openils/conf/opensrf_core.xml');
+use OpenILS::WWW::FlatFielder ('/openils/conf/opensrf_core.xml');
 
 # - Uncoment the following 2 lines to make use of the IP redirection code
 # - The IP file should to contain a map with the following format: