3 Usage: pazpar2 -f configfile -h [listen-host:]listen-port -p host-to-proxy -s targetfile
5 The host-to-proxy is the webserver where the user interface script
6 lives. It is used both for domain-name lookup and the contents of
7 the Host: header in rerquests that are proxied, so it's important
8 that the hostname is recognized by the webserver.
10 There are a few main target files:
12 test.pz: Single target, localhost:9999/Default -- use with
13 yaz-ztest or a local Zebra test.
15 slow.pz: Single target, localhost:9999/Slow -- triggers a slow
16 search response, useful for testing some stuff.
18 bibs.pz: A small set of serious catalogs in the US and Canada.
20 many.pz: Obscenely many catalogs.
24 Testing against ztest with Apache running on localhost port 80, pazpar
25 running on 8000. DocumentRoot in /var/www.
31 sudo cp -a www/* /var/www
33 cp pazpar2.cfg.dist pazpart2.cfg # edit port + proxy
34 ../src/pazpar2 -f pazpar2.cfg -t testserver.xml
37 http://localhost:8000/test1/index.html