OSRFGatewayConfig /openils/conf/opensrf_core.xml
# ----------------------------------------------------------------------------------
-# Set up the book jackets URL
-# 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/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
# ----------------------------------------------------------------------------------
<Location /opac/extras/ac/>
allow from all
</Location>
-
+# ----------------------------------------------------------------------------------
+# Replace broken cover images with a transparent GIF by default
+# ----------------------------------------------------------------------------------
+RewriteEngine ON
+RewriteRule ^/opac/extras/ac/jacket/(small|medium|large)/$ \
+ /opac/images/blank.png [P,L]
+
# ----------------------------------------------------------------------------------
# Configure the OPAC
# ----------------------------------------------------------------------------------
PerlSendHeader On
allow from all
</Location>
-
-
-# ----------------------------------------------------------------------------------
-# Django admin interface (experimental)
-# - requires mod_python and django
-# - requires a symlink from WEBROOT/media to
-# /usr/lib/python2.4/site-packages/django/contrib/admin/media/ (or similar)
-# ----------------------------------------------------------------------------------
-#<Location /ils_setup/>
-# Order deny,allow
-# Deny from all
-# Allow from 10.0.0.0/8
-# SetHandler mod_python
-# PythonHandler django.core.handlers.modpython
-# SetEnv DJANGO_SETTINGS_MODULE ils_admin.settings
-# PythonDebug On
-# PythonPath "['/openils/var/admin/', '/usr/lib/python2.4/site-packages/'] +sys.path"
-# PythonAutoReload On
-#</Location>
-
-