Rename example Apache configuration file to include ".conf" suffix
authordbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 15 Jun 2010 14:03:58 +0000 (14:03 +0000)
committerdbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 15 Jun 2010 14:03:58 +0000 (14:03 +0000)
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

examples/apache2/opensrf [deleted file]
examples/apache2/opensrf.conf [new file with mode: 0644]

diff --git a/examples/apache2/opensrf b/examples/apache2/opensrf
deleted file mode 100644 (file)
index 2989dc0..0000000
+++ /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
-<VirtualHost *: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
-       # ----------------------------------------------------------------------------------
-       <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>
-
-       # ----------------------------------------------------------------------------------
-       # OpenSRF-over-HTTP translator
-       # (http://open-ils.org/dokuwiki/doku.php?id=opensrf_over_http)
-       # ----------------------------------------------------------------------------------
-       <Location /osrf-http-translator>
-               SetHandler osrf_http_translator_module
-               allow from all
-       </Location>
-
-</VirtualHost>
diff --git a/examples/apache2/opensrf.conf b/examples/apache2/opensrf.conf
new file mode 100644 (file)
index 0000000..2989dc0
--- /dev/null
@@ -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
+<VirtualHost *: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
+       # ----------------------------------------------------------------------------------
+       <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>
+
+       # ----------------------------------------------------------------------------------
+       # OpenSRF-over-HTTP translator
+       # (http://open-ils.org/dokuwiki/doku.php?id=opensrf_over_http)
+       # ----------------------------------------------------------------------------------
+       <Location /osrf-http-translator>
+               SetHandler osrf_http_translator_module
+               allow from all
+       </Location>
+
+</VirtualHost>