proxy and set locale info for the xml files only, not everything under /vandelay
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 3 Dec 2008 16:21:43 +0000 (16:21 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 3 Dec 2008 16:21:43 +0000 (16:21 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@11387 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/examples/apache/eg_vhost.conf

index 005033a..3d96a8b 100644 (file)
@@ -322,7 +322,7 @@ RewriteRule ^/conify/(.*)/global/(.*)$ /conify/global/$2 [E=locale:$1]
 # ----------------------------------------------------------------------------------
 # 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
@@ -341,7 +341,7 @@ AliasMatch ^/vandelay/.*/vandelay.xml(.*) /openils/var/web/vandelay/vandelay.xml
        Options +ExecCGI
        PerlSendHeader On
        allow from all
-</Location>
+</LocationMatch>
 <Location /vandelay-upload>
     SetHandler perl-script
     PerlHandler OpenILS::WWW::Vandelay::spool_marc