3.14. Z39.50 Gateways

Gateways may be set up to provide Z39.50 access to non-Z39.50 services. The two main gateways are zHITSgate, which provides access to Gale databases using their proprietary XML-over-HTTP protocol HITS, and Zpoint, which searches in and extracts data from user-facing web-sites such as Heritage Quest and STAT!Ref. Both of these packages depend on the Net::Z3950::SimpleServer Perl module to provide generic Z39.50 server facilities.

First, build and install the SimpleServer package:


	  tar zxf Net-Z3950-SimpleServer-0.07.tar.gz
	  cd Net-Z3950-SimpleServer-0.07
	  perl Makefile.PL
	  make
	  make test
	  sudo make install
	

Once SimpleServer is installed, it's possible to build and install the HITS and Zpoint packages. They may be obtained from Index Data.


	  tar zxf HITS-0.05.tar.gz
	  cd HITS-0.05
	  perl Makefile.PL
	  make
	  make test
	  sudo make install
	  cd ..

	  tar zxf Zpoint-0.01.tar.gz
	  cd Zpoint-0.01
	  perl Makefile.PL
	  make
	  make test
	  sudo make install
	  cd ..
	

Once these gateways have been installed, configuration files may be added to the system directory to ensure that they are automatically started at boot time:


	  sudo cp -i Zpoint/init-script /etc/rc.d/init.d/zpoint
	  sudo cp -i HITS/zgate/init-script /etc/rc.d/init.d/zhitsgate
	

The gatway services may be explicitly started as follows:


	  sudo /etc/rc.d/init.d/zpoint start
	  sudo /etc/rc.d/init.d/zhitsgate start