From: erickson Date: Thu, 18 Oct 2007 16:00:35 +0000 (+0000) Subject: separating the two JSON gateways for backwards compatibility and explicitly setting... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=25d560c77b27cb90d4b65a2dbeda210e50bf6807;p=Evergreen.git 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 --- 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