Wednesday, September 30, 2009

How to determine patrons' IP addresses

The issue of authentication for MetaLib can be solved with JavaScript. The variable,"REMOTE_ADDR", can determine clients' IPs. On-campus access does not request authentication; off-campus access does (via EZProxy).

To use this variable, Java scripts need a Server Side Include (SSI) which gives the IP address. To make the web server check for SSI code in your page, you need to add the appropriate extension (for example, .shtml extension) in the web server, and map it to ASP (classic) engine.

Apache needs the include module either loaded or compiled in. Also, these options need to be specified in httpd.conf:
AddHandler server-parsed .shtml
AddOutputFilter INCLUDES .shtml
Options Includes

Technorati Tags: ,,

Extra targets are persistently appearing in SFX menu

If journals that are not a part of the library subscriptions and deactivated in SFX always persistently appear in the SFX menu, they are actually pulled in from another consortial instance, which is configured to share targets with your instance. There's a way to turn of consortial sharing altogether.

The following file needs to be edited:
/exlibris/sfx_ver/sfx_version_3/[instance]/config/ctx_object.config

In section:

Section "consortium"
active "N"

EndSection

change Y to N

The change should take place immediately and you should no longer receive extraneous targets from another instance.

Technorati Tags: ,,