From: Mike Rylander Date: Fri, 23 Mar 2012 17:54:53 +0000 (-0400) Subject: Tell apache about the flattener X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=4049305b02a02054da9751530fb456511a4d6da9;p=evergreen%2Fequinox.git Tell apache about the flattener Signed-off-by: Mike Rylander --- diff --git a/Open-ILS/examples/apache/eg_vhost.conf b/Open-ILS/examples/apache/eg_vhost.conf index 688f10b05a..9fd59b2604 100644 --- a/Open-ILS/examples/apache/eg_vhost.conf +++ b/Open-ILS/examples/apache/eg_vhost.conf @@ -59,6 +59,14 @@ OSRFGatewayConfig /openils/conf/opensrf_core.xml Allow from All +# Flattener service + + SetHandler perl-script + PerlHandler OpenILS::WWW::FlatFielder + PerlSendHeader On + Allow from All + + # ---------------------------------------------------------------------------------- # Replace broken cover images with a transparent GIF by default # ---------------------------------------------------------------------------------- diff --git a/Open-ILS/examples/apache/startup.pl b/Open-ILS/examples/apache/startup.pl index bb3fa166a7..46df1b11ac 100755 --- a/Open-ILS/examples/apache/startup.pl +++ b/Open-ILS/examples/apache/startup.pl @@ -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: