3.13. YAZ proxy

The YAZ Z39.50 proxy may optionally be installed behind the LOT software to cache search results etc. It requires the YAZ++ toolkit. The YAZ proxy can be downloaded from http://www.indexdata.dk/yazproxy/

Installing both the toolkit and the proxy itself is straightforward.


	  tar zxf yaz++-0.8.tar.gz
	  cd yaz++-0.8
	  ./configure
	  make
	  sudo make install
	  cd ..

	  tar zxf yazproxy-0.8.tar.gz
	  cd yazproxy-0.8
	  ./configure
	  make
	  sudo make install
	  cd ..
	

The YAZ proxy can be started as follows using sh/bash:


	  yaz-proxy @:9000 > /var/log/yaz_proxy.log 2>&1 &
	
This will start the proxy and make it listen on port 9000 and generate log output to /var/log/yaz_proxy.log.

To start the proxy on system boot add the invocation line to /etc/rc.d/rc.local

To point the LOT portal to the YAZ proxy, edit the file lot/root/php/config.phpi and set z_proxy. To make the LOT software contact Z39.50 servers directly (without using proxy), set z_proxy to an empty string, e.g.:


	  $z_proxy='';