[open-ils-commits] r17338 - trunk/Open-ILS/examples/apache (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Aug 25 12:58:14 EDT 2010


Author: erickson
Date: 2010-08-25 12:58:10 -0400 (Wed, 25 Aug 2010)
New Revision: 17338

Modified:
   trunk/Open-ILS/examples/apache/eg_vhost.conf
Log:
added sample apache config for the IP-based redirector

Modified: trunk/Open-ILS/examples/apache/eg_vhost.conf
===================================================================
--- trunk/Open-ILS/examples/apache/eg_vhost.conf	2010-08-25 16:58:09 UTC (rev 17337)
+++ trunk/Open-ILS/examples/apache/eg_vhost.conf	2010-08-25 16:58:10 UTC (rev 17338)
@@ -9,6 +9,22 @@
 RedirectMatch 301 ^/$ /opac/en-US/skin/default/xml/index.xml
 
 # ----------------------------------------------------------------------------------
+# Point / to the IP address redirector
+# ----------------------------------------------------------------------------------
+#<LocationMatch ^/$>
+#    SetHandler perl-script
+#    PerlHandler OpenILS::WWW::Redirect
+#    Options +ExecCGI
+#    PerlSendHeader On
+#    #PerlSetVar OILSRedirectSkin "default"
+#    # OILSRedirectDepth defaults to the depth of the branch that the OPAC was directed to
+#    #PerlSetVar OILSRedirectDepth "0"
+#    #PerlSetVar OILSRedirectLocale "en-US"
+#    allow from all
+#</LocationMatch>
+
+
+# ----------------------------------------------------------------------------------
 # Assign a default locale to the accessible OPAC
 # ----------------------------------------------------------------------------------
 RedirectMatch 301 ^/opac/extras/slimpac/start.html$ /opac/en-US/extras/slimpac/start.html



More information about the open-ils-commits mailing list