From: miker Date: Wed, 4 Jun 2008 00:59:02 +0000 (+0000) Subject: adding the openurl map script to the example apache config X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a3be9c96e1fa6f75b0a9b27451749b10a7fbf5f4;p=Evergreen.git adding the openurl map script to the example apache config git-svn-id: svn://svn.open-ils.org/ILS/trunk@9763 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/examples/apache/eg_vhost.conf b/Open-ILS/examples/apache/eg_vhost.conf index 63128e8da3..1e2fe4d39d 100644 --- a/Open-ILS/examples/apache/eg_vhost.conf +++ b/Open-ILS/examples/apache/eg_vhost.conf @@ -250,3 +250,10 @@ RewriteRule ^/opac/extras/ac/jacket/(small|medium|large)/$ \ allow from all +# 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] + +