From: Bill Erickson Date: Thu, 13 Feb 2014 14:31:17 +0000 (-0500) Subject: FF apache config updates X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Ffulfillment;p=evergreen%2Fequinox.git FF apache config updates Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/examples/apache/eg_vhost.conf.in b/Open-ILS/examples/apache/eg_vhost.conf.in index 872489f6e4..28f09ae2ce 100644 --- a/Open-ILS/examples/apache/eg_vhost.conf.in +++ b/Open-ILS/examples/apache/eg_vhost.conf.in @@ -787,19 +787,66 @@ RewriteRule ^/openurl$ ${openurl:%1} [NE,PT] -# TODO: as is, each sub-app will require a new Location. -# need to investigate ways to avoid that. Options -MultiViews # any reuest that does not map to a template file - # is redirected to the index. This allows us to + # is redirected to the index. This allows us to # map multiple routes to the same application. RewriteEngine On RewriteCond %{PATH_INFO} !/staff/index RewriteCond %{PATH_INFO} !/staff/t_* RewriteRule .* /eg/staff/index [L,DPI] + # is this redundant? + + Header append Cache-Control "public" + + + 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 + + + + + + Options -MultiViews + # any reuest that does not map to a template file + # is redirected to the index. This allows us to + # map multiple routes to the same application. + RewriteEngine On + RewriteCond %{PATH_INFO} !/staff/fulfillment/index + RewriteCond %{PATH_INFO} !/staff/fulfillment/t_* + RewriteRule .* /eg/staff/fulfillment/index [L,DPI] + + SetHandler perl-script + PerlResponseHandler FulfILLment::WWW::FastImport + 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 Cache-Control "public" + Header append Vary User-Agent env=!dont-vary + + + + + # Uncomment the following to force SSL for everything. Note that this defeats caching # and you will suffer a performance hit. #RewriteCond %{HTTPS} off