[open-ils-commits] r7745 - trunk/Open-ILS/examples/apache

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Aug 29 16:46:25 EDT 2007


Author: erickson
Date: 2007-08-29 16:40:31 -0400 (Wed, 29 Aug 2007)
New Revision: 7745

Modified:
   trunk/Open-ILS/examples/apache/eg_vhost.conf
Log:
now that images are served as part of the added content plugin api,
we don't want added content /and/ the image redirects both enabled 
by default.  added note in config explaining the use of the redirects



Modified: trunk/Open-ILS/examples/apache/eg_vhost.conf
===================================================================
--- trunk/Open-ILS/examples/apache/eg_vhost.conf	2007-08-29 20:37:21 UTC (rev 7744)
+++ trunk/Open-ILS/examples/apache/eg_vhost.conf	2007-08-29 20:40:31 UTC (rev 7745)
@@ -26,16 +26,17 @@
 # ----------------------------------------------------------------------------------
 # Set up the book jackets URL
 # XXX This pulls images from Amazon, don't use this in a production environment
+# This is an example of how you can have bookjacket images via Apache redirect,
+# if there is no full-fledged added content plugin for the site you want to 
+# fetch images from.
 # ----------------------------------------------------------------------------------
-RewriteEngine on
-ProxyTimeout 2
-RewriteRule /opac/extras/jacket/small/(.*) \
-    http://images.amazon.com/images/P/$1.01._SCMZZZZZZZ_.jpg [P,L]
-RewriteRule /opac/extras/jacket/large/(.*) \
-    http://images.amazon.com/images/P/$1.01._SCLZZZZZZZ_.jpg [P,L]
+#RewriteEngine on
+#ProxyTimeout 2
+#RewriteRule /opac/extras/ac/jacket/small/(.*) \
+#    http://images.amazon.com/images/P/$1.01._SCMZZZZZZZ_.jpg [P,L]
+#RewriteRule /opac/extras/ac/jacket/large/(.*) \
+#    http://images.amazon.com/images/P/$1.01._SCLZZZZZZZ_.jpg [P,L]
 
-
-
 # ----------------------------------------------------------------------------------
 # Added content plugin
 # ----------------------------------------------------------------------------------



More information about the open-ils-commits mailing list