adding the openurl map script to the example apache config
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 4 Jun 2008 00:59:02 +0000 (00:59 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 4 Jun 2008 00:59:02 +0000 (00:59 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@9763 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/examples/apache/eg_vhost.conf

index 63128e8..1e2fe4d 100644 (file)
@@ -250,3 +250,10 @@ RewriteRule ^/opac/extras/ac/jacket/(small|medium|large)/$ \
     allow from all
 </Location>
 
+# OpenURL 0.1 searching based on OpenSearch
+RewriteEngine on
+RewriteMap openurl prg:/openils/bin/openurl_map.pl
+RewriteCond %{QUERY_STRING} (^.*$)
+RewriteRule ^/openurl$ ${openurl:%1} [NE,PT]
+
+