[open-ils-commits] r7893 - trunk/Open-ILS/examples/apache
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Oct 18 12:13:29 EDT 2007
Author: erickson
Date: 2007-10-18 12:00:35 -0400 (Thu, 18 Oct 2007)
New Revision: 7893
Modified:
trunk/Open-ILS/examples/apache/eg_vhost.conf
Log:
separating the two JSON gateways for backwards compatibility and explicitly setting the encoding style for each
Modified: trunk/Open-ILS/examples/apache/eg_vhost.conf
===================================================================
--- trunk/Open-ILS/examples/apache/eg_vhost.conf 2007-10-18 15:45:47 UTC (rev 7892)
+++ trunk/Open-ILS/examples/apache/eg_vhost.conf 2007-10-18 16:00:35 UTC (rev 7893)
@@ -176,10 +176,22 @@
# ----------------------------------------------------------------------------------
-# OpenSRF JSON gateway
+# XXX Note, it's important to explicitly set the JSON encoding style
+# (OSRFGatewayLegacyJSON), since the default encoding style will likely change
+# with OpenSRF 1.0
# ----------------------------------------------------------------------------------
+# OpenSRF JSON legacy gateway
+# ----------------------------------------------------------------------------------
<Location /gateway>
SetHandler osrf_json_gateway_module
+ OSRFGatewayLegacyJSON "true"
+ allow from all
+</Location>
+# ----------------------------------------------------------------------------------
+# New-style OpenSRF JSON gateway
+# ----------------------------------------------------------------------------------
+<Location /osrf-gateway-v1>
+ SetHandler osrf_json_gateway_module
OSRFGatewayLegacyJSON "false"
allow from all
</Location>
More information about the open-ils-commits
mailing list