[Opensrf-commits] r1963 - trunk/examples/apache2 (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Jun 15 10:04:00 EDT 2010


Author: dbs
Date: 2010-06-15 10:03:58 -0400 (Tue, 15 Jun 2010)
New Revision: 1963

Added:
   trunk/examples/apache2/opensrf.conf
Removed:
   trunk/examples/apache2/opensrf
Log:
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.


Deleted: trunk/examples/apache2/opensrf
===================================================================
--- trunk/examples/apache2/opensrf	2010-06-15 10:32:59 UTC (rev 1962)
+++ trunk/examples/apache2/opensrf	2010-06-15 14:03:58 UTC (rev 1963)
@@ -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>

Copied: trunk/examples/apache2/opensrf.conf (from rev 1957, trunk/examples/apache2/opensrf)
===================================================================
--- trunk/examples/apache2/opensrf.conf	                        (rev 0)
+++ trunk/examples/apache2/opensrf.conf	2010-06-15 14:03:58 UTC (rev 1963)
@@ -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>



More information about the opensrf-commits mailing list