LP#1347807: Add example "No Image" configuration
authorThomas Berezansky <tsbere@mvlc.org>
Wed, 23 Jul 2014 13:46:32 +0000 (09:46 -0400)
committerBen Shum <bshum@biblio.org>
Tue, 28 Jul 2015 21:00:53 +0000 (17:00 -0400)
To make it easy to see how to do that kind of thing.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/examples/apache/eg_vhost.conf.in
Open-ILS/examples/apache_24/eg_vhost.conf.in

index d26151e..771ed62 100644 (file)
@@ -79,6 +79,24 @@ RewriteRule ^/opac/extras/ac/jacket/(small|medium|large)/$ \
         ErrorDocument 404 /opac/images/blank.png
 </Location>
 
         ErrorDocument 404 /opac/images/blank.png
 </Location>
 
+# Uncomment one or more of these to have a "no image" image other than the blank
+# image above.
+
+# Note: There are no default images provided for these, you will need to provide
+# your own "no image" image(s).
+
+#<Location /opac/extras/ac/jacket/small>
+#        ErrorDocument 404 /opac/images/noimage_small.png
+#</Location>
+
+#<Location /opac/extras/ac/jacket/medium>
+#        ErrorDocument 404 /opac/images/noimage_medium.png
+#</Location>
+
+#<Location /opac/extras/ac/jacket/large>
+#        ErrorDocument 404 /opac/images/noimage_large.png
+#</Location>
+
 # ----------------------------------------------------------------------------------
 # Add the row ID (RID) and date so we can make unAPI happy
 # ----------------------------------------------------------------------------------
 # ----------------------------------------------------------------------------------
 # Add the row ID (RID) and date so we can make unAPI happy
 # ----------------------------------------------------------------------------------
index f733616..c6ce1c7 100644 (file)
@@ -79,6 +79,24 @@ RewriteRule ^/opac/extras/ac/jacket/(small|medium|large)/$ \
         ErrorDocument 404 /opac/images/blank.png
 </Location>
 
         ErrorDocument 404 /opac/images/blank.png
 </Location>
 
+# Uncomment one or more of these to have a "no image" image other than the blank
+# image above.
+
+# Note: There are no default images provided for these, you will need to provide
+# your own "no image" image(s).
+
+#<Location /opac/extras/ac/jacket/small>
+#        ErrorDocument 404 /opac/images/noimage_small.png
+#</Location>
+
+#<Location /opac/extras/ac/jacket/medium>
+#        ErrorDocument 404 /opac/images/noimage_medium.png
+#</Location>
+
+#<Location /opac/extras/ac/jacket/large>
+#        ErrorDocument 404 /opac/images/noimage_large.png
+#</Location>
+
 # ----------------------------------------------------------------------------------
 # Add the row ID (RID) and date so we can make unAPI happy
 # ----------------------------------------------------------------------------------
 # ----------------------------------------------------------------------------------
 # Add the row ID (RID) and date so we can make unAPI happy
 # ----------------------------------------------------------------------------------