From: dbs Date: Tue, 15 Jun 2010 14:03:58 +0000 (+0000) Subject: Rename example Apache configuration file to include ".conf" suffix X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=86201390905c1f4b9fceea9a2a9941add82a6483;p=working%2FOpenSRF.git Rename example Apache configuration file to include ".conf" suffix This is useful on systems like Fedora that require the .conf suffix to act on files in a conf.d subdirectory, and is generally useful for visually distinguishing the purpose of the file. git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1963 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/examples/apache2/opensrf b/examples/apache2/opensrf deleted file mode 100644 index 2989dc0..0000000 --- a/examples/apache2/opensrf +++ /dev/null @@ -1,49 +0,0 @@ -# This is a barebones Apache virtual host configuration, suitable -# for testing out the OpenSRF gateway and HTTP translator, and -# that's about it. - -NameVirtualHost *:80 - - ServerName localhost:80 - ServerAlias 127.0.0.1:80 - #DocumentRoot /openils/var/web/ - #DirectoryIndex index.xml index.html index.xhtml - - # ---------------------------------------------------------------------------------- - # Configure the gateway - # ---------------------------------------------------------------------------------- - OSRFGatewayConfig /openils/conf/opensrf_core.xml - # Translator memcache server. Default is localhost - # OSRFTranslatorCacheServer 127.0.0.1:11211 - - # ---------------------------------------------------------------------------------- - # 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 - - - # ---------------------------------------------------------------------------------- - # OpenSRF-over-HTTP translator - # (http://open-ils.org/dokuwiki/doku.php?id=opensrf_over_http) - # ---------------------------------------------------------------------------------- - - SetHandler osrf_http_translator_module - allow from all - - - diff --git a/examples/apache2/opensrf.conf b/examples/apache2/opensrf.conf new file mode 100644 index 0000000..2989dc0 --- /dev/null +++ b/examples/apache2/opensrf.conf @@ -0,0 +1,49 @@ +# This is a barebones Apache virtual host configuration, suitable +# for testing out the OpenSRF gateway and HTTP translator, and +# that's about it. + +NameVirtualHost *:80 + + ServerName localhost:80 + ServerAlias 127.0.0.1:80 + #DocumentRoot /openils/var/web/ + #DirectoryIndex index.xml index.html index.xhtml + + # ---------------------------------------------------------------------------------- + # Configure the gateway + # ---------------------------------------------------------------------------------- + OSRFGatewayConfig /openils/conf/opensrf_core.xml + # Translator memcache server. Default is localhost + # OSRFTranslatorCacheServer 127.0.0.1:11211 + + # ---------------------------------------------------------------------------------- + # 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 + + + # ---------------------------------------------------------------------------------- + # OpenSRF-over-HTTP translator + # (http://open-ils.org/dokuwiki/doku.php?id=opensrf_over_http) + # ---------------------------------------------------------------------------------- + + SetHandler osrf_http_translator_module + allow from all + + +