From 0e63dfd950c85e265fbde863c6cb419b7fad2d09 Mon Sep 17 00:00:00 2001 From: dbs Date: Mon, 15 Feb 2010 05:29:30 +0000 Subject: [PATCH] Prepare for split-server hosting of JS, CSS, and images (finally!) git-svn-id: svn://svn.open-ils.org/ILS-Contrib/conifer/branches/rel_1_6_0@787 6d9bc8c9-1ec2-4278-b937-99fde70a366f --- apache/eg_vhost.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apache/eg_vhost.conf b/apache/eg_vhost.conf index 1caab88de6..b7536c38d9 100644 --- a/apache/eg_vhost.conf +++ b/apache/eg_vhost.conf @@ -179,13 +179,13 @@ AddOutputFilterByType DEFLATE text/css text/javascript application/javascript # This gives you the option to configure a different host to serve OPAC images from # Specify the hostname (without protocol) and path to the images. Protocol will # be determined at runtime - #SetEnvIf Request_URI ".*" OILS_OPAC_IMAGES_HOST=static.example.org/opac/ + SetEnvIf Request_URI ".*" OILS_OPAC_IMAGES_HOST=images.concat.ca/opac/ # In addition to loading images from a static host, you can also load CSS and/or # Javascript from a static host or hosts. Protocol will be determined at runtime # and/or by configuration options immediately following. - #SetEnvIf Request_URI ".*" OILS_OPAC_CSS_HOST=static.example.org/opac/ - #SetEnvIf Request_URI ".*" OILS_OPAC_JS_HOST=static.example.org/opac/ + SetEnvIf Request_URI ".*" OILS_OPAC_CSS_HOST=css.concat.ca/opac/ + SetEnvIf Request_URI ".*" OILS_OPAC_JS_HOST=js.concat.ca/opac/ # If you are not able to serve static content via https and # wish to force http:// (and are comfortable with mixed-content -- 2.11.0