# ----------------------------------------------------------------------------------
# capture the locale from the URL
AliasMatch ^/vandelay/.*/vandelay.xml(.*) /openils/var/web/vandelay/vandelay.xml$1
-<Location /vandelay>
+<LocationMatch /vandelay.*xml>
RewriteEngine on
SetEnv locale en-US
SetEnvIf Request_URI "/en-US/" locale=en-US
Options +ExecCGI
PerlSendHeader On
allow from all
-</Location>
+</LocationMatch>
<Location /vandelay-upload>
SetHandler perl-script
PerlHandler OpenILS::WWW::Vandelay::spool_marc