X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Fyaz-proxy-ref.xml;h=776f28aee69b884ea8549d246158374aa154a224;hb=7b05ec98b5a3227967c82f601a1c06ffd5c6dee6;hp=ba4aaa5127a5ba7afb1ef48a4be1621aa55f6096;hpb=4b58a5d2d97f7ae989a2d31475af52de9c47a06a;p=yazpp-moved-to-github.git diff --git a/doc/yaz-proxy-ref.xml b/doc/yaz-proxy-ref.xml index ba4aaa5..776f28a 100644 --- a/doc/yaz-proxy-ref.xml +++ b/doc/yaz-proxy-ref.xml @@ -24,13 +24,24 @@ DESCRIPTION - The proxy runs stand-alone (not from - inetd). The - host:port + yaz-proxy is a Z39.50 optimizing proxy daemon. + The listening port must be specified on the command-line. + inetd operation is not supported. + The host:port argument specifies host address to listen to, and the port to listen on. Use the host @ to listen for connections coming from any address. + + yaz-proxy can be configured using command-line + options or a configuration file. + Configuration file options override values specified + on the command-line. + + + yaz-proxy rereads its configuration file and + reopens log files when it receivies the hangup signal, SIGHUP. + OPTIONS @@ -148,14 +159,22 @@ The YAZ command-line client, - yaz-client, - allows you to set the proxy target as part of the Initialize - Request using option -p. - For example, to connect to Index Data's target you could use: + yaz-client, + allows you to set the proxy address by specifying option -p. In + that case, the actual backend target is specified as part of the + Initialize Request. + + Suppose you have a proxy running on localhost, + port 9000 and wish to connect to Index Data's test target at + indexdata.dk:210/gils you could use: + + yaz-client -p localhost:9000 indexdata.dk:210/gils + + Since port 210 is the default, the port can be omitted: + + yaz-client -p localhost:9000 indexdata.dk/gils + - - yaz-client -p indexdata.dk localhost:9000/gils -