projects
/
contrib
/
pines
/
genasys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22d8d92
)
Add support for IP redirection in TPAC
author
Andy Witter
<awitter@georgialibraries.org>
Mon, 13 Jan 2014 04:16:53 +0000
(23:16 -0500)
committer
Andy Witter
<awitter@georgialibraries.org>
Mon, 13 Jan 2014 04:16:53 +0000
(23:16 -0500)
templates/setup-head.sh
patch
|
blob
|
history
diff --git
a/templates/setup-head.sh
b/templates/setup-head.sh
index
1dee5ca
..
ff5503a
100755
(executable)
--- a/
templates/setup-head.sh
+++ b/
templates/setup-head.sh
@@
-296,6
+296,7
@@
if [ -e lib_ips.txt ]
sed -i 's^# PerlSendHeader On^ PerlSendHeader On^g' /etc/apache2/eg_vhost.conf
sed -i 's^# allow from all^ allow from all^g' /etc/apache2/eg_vhost.conf
sed -i 's^#</LocationMatch>^</LocationMatch>^g' /etc/apache2/eg_vhost.conf
+ sed -i 's^# #PerlSetVar OILSRedirectTpac "true"^ PerlSetVar OILSRedirectTpac "true"^g' /etc/apache2/eg_vhost.conf
fi
### configure apache module for memcache01 IP