From cd7d9592cc7aab99968defbfe3b5fc8b9106e1ac Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Tue, 18 Jan 2011 10:34:12 -0500 Subject: [PATCH] added the default config options for running the tt opac. only the eg_vhost change is needed --- Open-ILS/examples/apache/eg_vhost.conf | 14 ++++++++++++++ Open-ILS/examples/oils_web.xml.example | 3 +++ 2 files changed, 17 insertions(+) diff --git a/Open-ILS/examples/apache/eg_vhost.conf b/Open-ILS/examples/apache/eg_vhost.conf index 033504f590..1c4ec45785 100644 --- a/Open-ILS/examples/apache/eg_vhost.conf +++ b/Open-ILS/examples/apache/eg_vhost.conf @@ -547,7 +547,21 @@ RewriteRule ^/openurl$ ${openurl:%1} [NE,PT] Options +ExecCGI PerlSendHeader On allow from all + + SetOutputFilter DEFLATE + BrowserMatch ^Mozilla/4 gzip-only-text/html + BrowserMatch ^Mozilla/4\.0[678] no-gzip + BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html + SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary + + Header append Vary User-Agent env=!dont-vary + + + + + PerlSetVar OILSWebContextLoader "OpenILS::WWW::EGCatLoader" + # Note: the template processor will decline handling anything it does not # have an explicit configuration for, which means it will fall back to # Apache to serve the file. However, in the interest of speed, go ahead diff --git a/Open-ILS/examples/oils_web.xml.example b/Open-ILS/examples/oils_web.xml.example index 60f1573203..c5d36220a6 100644 --- a/Open-ILS/examples/oils_web.xml.example +++ b/Open-ILS/examples/oils_web.xml.example @@ -18,6 +18,9 @@ XML parsing adds overhead, so this should only be used for debugging --> false + + false + -- 2.43.2