From 25d560c77b27cb90d4b65a2dbeda210e50bf6807 Mon Sep 17 00:00:00 2001 From: erickson Date: Thu, 18 Oct 2007 16:00:35 +0000 Subject: [PATCH] separating the two JSON gateways for backwards compatibility and explicitly setting the encoding style for each git-svn-id: svn://svn.open-ils.org/ILS/trunk@7893 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/examples/apache/eg_vhost.conf | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Open-ILS/examples/apache/eg_vhost.conf b/Open-ILS/examples/apache/eg_vhost.conf index 4d9a842f13..1c945bd020 100644 --- a/Open-ILS/examples/apache/eg_vhost.conf +++ b/Open-ILS/examples/apache/eg_vhost.conf @@ -176,10 +176,22 @@ OSRFGatewayConfig /openils/conf/opensrf_core.xml # ---------------------------------------------------------------------------------- -# 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 # ---------------------------------------------------------------------------------- SetHandler osrf_json_gateway_module + OSRFGatewayLegacyJSON "true" + allow from all + +# ---------------------------------------------------------------------------------- +# New-style OpenSRF JSON gateway +# ---------------------------------------------------------------------------------- + + SetHandler osrf_json_gateway_module OSRFGatewayLegacyJSON "false" allow from all -- 2.11.0