From: erickson Date: Wed, 25 Aug 2010 16:58:10 +0000 (+0000) Subject: added sample apache config for the IP-based redirector X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=1536ec0d0ede18881543d1a6b27beeb288ed693e;p=evergreen%2Fbjwebb.git added sample apache config for the IP-based redirector git-svn-id: svn://svn.open-ils.org/ILS/trunk@17338 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/examples/apache/eg_vhost.conf b/Open-ILS/examples/apache/eg_vhost.conf index 16d62e6a6..da999b318 100644 --- a/Open-ILS/examples/apache/eg_vhost.conf +++ b/Open-ILS/examples/apache/eg_vhost.conf @@ -9,6 +9,22 @@ RedirectMatch 301 ^/$ /opac/en-US/skin/default/xml/index.xml # ---------------------------------------------------------------------------------- +# Point / to the IP address redirector +# ---------------------------------------------------------------------------------- +# +# 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 +# + + +# ---------------------------------------------------------------------------------- # Assign a default locale to the accessible OPAC # ---------------------------------------------------------------------------------- RedirectMatch 301 ^/opac/extras/slimpac/start.html$ /opac/en-US/extras/slimpac/start.html