From 48a44afbd82ac271c123903de2fa1351c2a0fa43 Mon Sep 17 00:00:00 2001 From: Lebbeous Fogle-Weekley Date: Wed, 18 Sep 2013 14:14:16 -0400 Subject: [PATCH] Add PhoneList.pm stuff to Apache 2.4 config Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Ben Shum --- Open-ILS/examples/apache_24/eg.conf.in | 1 + Open-ILS/examples/apache_24/eg_vhost.conf.in | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/Open-ILS/examples/apache_24/eg.conf.in b/Open-ILS/examples/apache_24/eg.conf.in index fb5e00bf2a..67dfd53dae 100644 --- a/Open-ILS/examples/apache_24/eg.conf.in +++ b/Open-ILS/examples/apache_24/eg.conf.in @@ -19,6 +19,7 @@ PerlChildInitHandler OpenILS::WWW::Reporter::child_init PerlChildInitHandler OpenILS::WWW::SuperCat::child_init PerlChildInitHandler OpenILS::WWW::AddedContent::child_init PerlChildInitHandler OpenILS::WWW::AutoSuggest::child_init +PerlChildInitHandler OpenILS::WWW::PhoneList::child_init # ---------------------------------------------------------------------------------- # Set some defaults for our working directories diff --git a/Open-ILS/examples/apache_24/eg_vhost.conf.in b/Open-ILS/examples/apache_24/eg_vhost.conf.in index 57378c774f..2e51116904 100644 --- a/Open-ILS/examples/apache_24/eg_vhost.conf.in +++ b/Open-ILS/examples/apache_24/eg_vhost.conf.in @@ -551,6 +551,9 @@ RewriteRule . - [E=locale:%1] Options +ExecCGI PerlSendHeader On Require all granted + + Header onsuccess set Cache-Control no-cache + # ---------------------------------------------------------------------------------- @@ -577,6 +580,25 @@ RewriteRule ^/conify/([a-z]{2}-[A-Z]{2})/global/(.*)$ /conify/global/$2 [E=local Require all granted +# ---------------------------------------------------------------------------------- +# The PhoneList lives here +# ---------------------------------------------------------------------------------- + + SetHandler perl-script + AuthType Basic + AuthName "PhoneList Login" + require valid-user + PerlOptions +GlobalRequest + PerlSetVar OILSProxyPermissions "STAFF_LOGIN" + PerlHandler OpenILS::WWW::PhoneList + PerlAuthenHandler OpenILS::WWW::Proxy::Authen + Options +ExecCGI + PerlSendHeader On + allow from all + + Header onsuccess set Cache-Control no-cache + + SetHandler perl-script PerlHandler OpenILS::WWW::Vandelay::spool_marc -- 2.11.0