Comment 3 for bug 1534979

Revision history for this message
Josh Stompro (u-launchpad-stompro-org) wrote :

Thanks Dan for the suggestion,

We currently use the physical_loc EnvVar to specify a Preferred Search Library for our two systems apache virtual hosts, so users that are not logged in have the preferred search lib set to the system level, so that the correct 856 resources will get shown/scoped. Maybe there is another option for just setting the preferred search lib in the apache config, but I haven't been able to find it yet. We want to be able to set a more specific preferred search lib which doesn't set the search lib.

But this doesn't keep the search library from being set to the preferred search library for logged in users in my testing.

This is the "the redirect option" that I was referring to, in eg_vhost.conf.
# ----------------------------------------------------------------------------!
# Point / to the opac - if you have a custom skin or locale, point at it here
# ----------------------------------------------------------------------------!
RedirectMatch 301 ^/$ /eg/opac/home?locg=1

Josh